diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 23:19:26 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 23:19:26 +0000 |
commit | 44a97a6e13baecedccbcd87b1b32562a783c4cbc (patch) | |
tree | 885b9240f576c5258805ccbc43f73d0736c48723 /webkit/tools | |
parent | f2e9cf6ede882970018fb7381e92cb201946c29d (diff) | |
download | chromium_src-44a97a6e13baecedccbcd87b1b32562a783c4cbc.zip chromium_src-44a97a6e13baecedccbcd87b1b32562a783c4cbc.tar.gz chromium_src-44a97a6e13baecedccbcd87b1b32562a783c4cbc.tar.bz2 |
Linux: use other fonts when the primary is missing glyphs
We had a bug where we weren't setting the fontdata for missing glyphs to
NULL. This caused WebKit not to try to load other fonts when glyphs
were missing.
With that fixed, we can implement the code to find a font for a given
set of code points. This uses fontconfig as it has this information
already indexed.
This fixes css2.1/t0805-c5519-brdr-r-00-a.html
Review URL: http://codereview.chromium.org/13108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r-- | webkit/tools/test_shell/test_shell_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc index cb07bc6..0de6261 100644 --- a/webkit/tools/test_shell/test_shell_gtk.cc +++ b/webkit/tools/test_shell/test_shell_gtk.cc @@ -95,6 +95,7 @@ void TestShell::InitializeTestShell(bool interactive) { "/usr/share/fonts/truetype/msttcorefonts/Verdana_Bold.ttf", "/usr/share/fonts/truetype/msttcorefonts/Verdana_Bold_Italic.ttf", "/usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf", + "/usr/share/fonts/truetype/ttf-lucida/LucidaSansRegular.ttf", NULL }; for (size_t i = 0; fonts[i]; ++i) { |