Comment #4 on issue 9654 by bugdro...@chromium.org: Segfault on startup,  
font issue ?
http://code.google.com/p/chromium/issues/detail?id=9654

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=13217

------------------------------------------------------------------------
r13217 | est...@chromium.org | 2009-04-06 18:03:57 -0700 (Mon, 06 Apr 2009)  
| 12 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/gfx/chrome_font.h?r1=13217&r2=13216
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/gfx/chrome_font_gtk.cc?r1=13217&r2=13216
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/gfx/chrome_font_skia.cc?r1=13217&r2=13216

Fix crash if skia failed to find default font.
If system has various fonts, fontconfig will find several font family for
default font, but it might not be the best match in  
SkFontHost_fontconfig.cpp,
so SkTypeface::Create returns NULL.

Find font family in the same way as FontMatch in SkFontHost_fontconfig.cpp,  
so
that make sure the font available.

BUG=9654

patch by u...@google.com: <http://codereview.chromium.org/56147>

------------------------------------------------------------------------


--
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