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: http://src.chromium.org/svn/trunk/src/build@6328 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
agl@chromium.org 2008-12-03 23:19:26 +00:00
Родитель e238046e5b
Коммит 8a3897d626
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -29,7 +29,8 @@ download_deb() {
install_hardy() {
sudo apt-get install subversion pkg-config python perl g++ g++-multilib \
bison flex gperf libnss3-dev libglib2.0-dev libgtk2.0-dev \
libnspr4-0d libnspr4-dev wdiff lighttpd php5-cgi msttcorefonts
libnspr4-0d libnspr4-dev wdiff lighttpd php5-cgi msttcorefonts \
sun-java6-fonts
wget -c http://www.trevp.com/tlslite/tlslite-0.3.8.tar.gz
tar xvfz tlslite-0.3.8.tar.gz