Comment #29 on issue 11269 by [email protected]: [Snow Leopard] Upgrading  
Snow Leopard  from Leopard : Chrome shows gibberish text instead of website  
actual text
http://code.google.com/p/chromium/issues/detail?id=11269

Workarounds tested:

1) Try to load font in browser process in hopes that the Font Server will  
cache it and no disk access will be required when loaded in the renderer -
FAIL.
2) Load font in renderer process on startup in hopes it will be cached when  
the Sandbox is enabled - WORKS, font cache appears to be per process.
3) Load font from an mmapped buffer - works.

I did some timing tests on using the NSFont constructor to let the system  
load the fonts for us vs. initializing the font from a block of memory.
results aren't conclusive since I couldn't figure out what cache to clear  
to get clean timing data (tried `purge` and clearing font cache with  
atsutil)
but both approaches seem to take 5-8ms to load Arial.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to