-
xan@webkit.org authored
Rubber-stamped by Holger Freyther. There seems to be some rounding error in cairo (or in how we use cairo) with some fonts, like DejaVu Sans Mono, which makes cairo report a height smaller than ascent + descent, which is wrong and confuses WebCore's layout system. Workaround this while we figure out what's going on. * platform/graphics/gtk/SimpleFontDataGtk.cpp: (WebCore::SimpleFontData::platformInit): * platform/graphics/gtk/SimpleFontDataPango.cpp: (WebCore::SimpleFontData::platformInit): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
aeaf33ce