[tor-bugs] #2872 [Tor Browser]: Limit the fonts available in TorBrowser

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Dec 29 04:28:26 UTC 2011

#2872: Limit the fonts available in TorBrowser
    Reporter:  mikeperry    |       Owner:  mikeperry                                      
        Type:  enhancement  |      Status:  closed                                         
    Priority:  major        |   Milestone:  TorBrowserBundle 2.3.x-stable                  
   Component:  Tor Browser  |     Version:                                                 
  Resolution:  fixed        |    Keywords:  backport-to-mozilla, MikePerryIteration20111225
      Parent:  #2871        |      Points:  8                                              
Actualpoints:  10           |  
Changes (by mikeperry):

  * status:  new => closed
  * resolution:  => fixed
  * actualpoints:  => 10


 Ok, this is finally done. The patch is in mikeperry/patches waiting for
 the buildbot to hit it. We create two prefs:
 browser.display.max_font_count and browser.display.max_font_attempts. My
 initial experimentation seems to indicate we want to set these around 5
 and 50 respectively, but perhaps the second one can be lower when not
 using font testing sites.

 We'll need some font snobs to test this out and let us know what values
 don't make the web look like shit.

 Also note, we use only font families, as font styles did not seem to be
 always available in ComputeFontData(). Font families seem to be more
 intuitive with all of the testing sites I found on the net, anyway. We can
 just set the limits lower to compensate for this.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2872#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tor-bugs mailing list