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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 2 19:40:31 UTC 2017


#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                    |   Keywords:
Actual Points:                            |  Parent ID:  #18097
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21385>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list