[tor-bugs] #13313 [Tor Browser]: Enable bundled fonts in Tor Browser

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 5 08:38:31 UTC 2015


#13313: Enable bundled fonts in Tor Browser
-----------------------------+----------------------
     Reporter:  dcf          |      Owner:  tbb-team
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+----------------------

Comment (by dcf):

 Here are other Firefox logs from 4.5-alpha-2-fonts-1. I got the names of
 log modules from https://hg.mozilla.org/mozilla-
 central/file/636498d041b5/gfx/thebes/gfxPlatform.cpp#l2058.
  * attachment:fontlist.log
  * attachment:fontinit.log
  * attachment:textrun.log
  * attachment:textrunui.log
  * attachment:cmapdata.log
  * textperf.log was empty.
 The most interesting one appears to be cmapdata.log:
 {{{
 0[c07268]: (cmapdata) name: Droid Sans Georgian Bold u+000000 [80040000
 80000000 00000000 00000000 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Bold u+001000 [00000000
 00000000 00000000 00000000 00000000 ffffffff fc00ffff fffffff8]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Bold u+002d00 [ffffffff
 fc000000 00000000 00000000 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000000 [00000000
 ffffffff ffffffff fffffffe 00000000 ffffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000100 [ffffffff
 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000200 [ffffffff
 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000300 [ffffffff
 ffffffff ffffffff ffffff3e 0febffff dfffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000400 [ffffffff
 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000500 [ffffffff
 ff000000 00000000 00000000 00007fff ffffffff ff00ffff ffe0f800]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000600 [fbfffff3
 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000700 [00000000
 00000000 0000ffff ffffffff 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+000800 [00000000
 00000000 00000000 00000000 00000000 bff80000 00000000 0ffffffe]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+001d00 [ffffffff
 ffffffff ffffffff ffffffff ffffffff ffffffff ffe00000 00000003]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+001e00 [ffffffff
 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+001f00 [fffffcfc
 ffffffff fcfcff55 fffffffc ffffffff fffffbff fbfff3f7 ffff3bfe]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002000 [ffff3fff
 e23fb86e 08000002 003f8fc1 0000f800 ffffffe4 00000000 00008000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002100 [04001300
 22020000 0006181e 00000000 0800fc00 00800000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002200 [22016463
 00500000 00800000 cc000000 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002300 [20008000
 c0000000 00000000 00000000 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002500 [a0088888
 08080808 0000ffff fff80000 8888f000 c0382028 083900c0 02000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002600 [00000000
 00000038 a0000000 96310000 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002c00 [00000000
 00000000 00000000 ffffffff 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+002e00 [00000100
 00000000 00000000 00000000 00000000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+00a700 [000001ff
 c0000000 00000000 00000000 00f80000 00000000 00000000 00000000]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+00fb00 [60000007
 fffffefa dbffffff ffffffff ffffffff ffffffff c0001fff ffffffff]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+00fc00 [00000000
 00000000 00000003 f0000000 00000000 00000000 00000000 00003800]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+00fd00 [00000000
 0000000f 00000000 00000000 00000000 00000000 00000000 0000283c]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+00fe00 [00000000
 f0000000 00000000 0000fbff ffffffff ffffffff ffffffff fffffff8]
 0[c07268]: (cmapdata) name: Droid Sans Georgian Regular u+00ff00 [00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000008]
 }}}
 If I guess at the meaning right, it looks like "Droid Sans Georgian
 Regular" is claiming support for lots of code points, including most of
 ASCII. Maybe it doesn't actually support those, but Firefox believes it
 does, so it doesn't try loading any other fonts.

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


More information about the tor-bugs mailing list