[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21385 [Applications/Tor Browser]: Ensure fonts are always loaded in the same order



#21385: Ensure fonts are always loaded in the same order
--------------------------------------+--------------------------
 Reporter:  arthuredelstein           |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:                            |  Actual Points:
Parent ID:  #18097                    |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------
Description changed by arthuredelstein:

Old description:

> We bundle fonts with Linux Tor Browser, but I recall noticing that the
> bundled fonts are used with different priorities on different Linux
> flavors, such that a given code point is displayed with Font 1 on Linux
> flavor A and Font 2 on Linux flavor B. This probably has to do with the
> order of font loading being different.
>
> Currently we use a workaround in 000-tor-browser.js, where we enforce
> priorities useing the font.name* prefs. But we should investigate the
> underlying reason for this problem and come up with a better patch that
> ensures our whitelisted fonts always have the same order or priorities.
> That way a given code point will always use the same font.

New description:

 We bundle fonts with Linux Tor Browser, but I recall noticing that the
 bundled fonts are used with different priorities on different Linux
 flavors, such that a given code point is displayed with Font 1 on Linux
 flavor A and Font 2 on Linux flavor B. This probably has to do with the
 order of font loading being different.

 Currently we use a workaround in 000-tor-browser.js, where we enforce
 priorities useing the font.name* prefs. But we should investigate the
 underlying reason for this problem and come up with a better patch that
 ensures our whitelisted fonts are always applied in the same order. That
 way a given code point will always use the same font.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21385#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs