Comment #14 on issue 15949 by bugdro...@chromium.org: cannot use the "WenQuanYi Bitmap Song" (chinese Fonts) as the system fonts with chrome http://code.google.com/p/chromium/issues/detail?id=15949
The following revision refers to this bug: http://src.chromium.org/viewvc/chrome?view=rev&revision=26652 ------------------------------------------------------------------------ r26652 | yusu...@google.com | 2009-09-18 23:26:56 -0700 (Fri, 18 Sep 2009) | 11 lines Changed paths: M http://src.chromium.org/viewvc/chrome/trunk/src/app/gfx/font_skia.cc?r1=26652&r2=26651 Workaround for Issue 15949: cannot use the "WenQuanYi Bitmap Song" (chinese Fonts) as the system fonts with chrome - Adding a font fallback code to Font::CreateFont() in font_skia.cc so that Chromium can startup even when a non-scalable font is selected as an application font. If the application font is non-scalable, Font::CreateFont() loads a _scalable_ "sans" font as a fallback. (Note: The function still never load non-scalable fonts.) - Removed a comment for issue 12530 since the issue has been fixed. BUG=12530 BUG=15949 TEST=Download the snap.pcf font from http://artwizaleczapka.sourceforge.net/ and put it to ~/.fonts/. Remove temporarily /etc/fonts/conf.d/70-no-bitmaps.conf and run "fc-cache -f". Start /ust/bin/gnome-appearance-properties and select "snap" as your application font. Then start chromium and verify that it does not crash (by the CHECK failure) on startup. Review URL: http://codereview.chromium.org/207009 ------------------------------------------------------------------------ -- 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 -~----------~----~----~----~------~----~------~--~---