path: root/src/corelib/tools/qunicodetables.cpp
diff options
authorEskil Abrahamsen Blomfeldt <>2012-12-21 15:23:28 +0100
committerThe Qt Project <>2012-12-21 16:57:26 +0100
commitdde09c429ae8b7ad0df4e4b36b8459d2b85a1219 (patch)
treee35d1dc8c61dcc8f613630fc5f3e711164aa8445 /src/corelib/tools/qunicodetables.cpp
parentb8623461d101d3f00603d36b2820b22da4d6708d (diff)
Make distance fields rendering work with Opentype CFF fonts
If the font has a CFF table, GDI will not label it as TMPF_TRUETYPE, however, we can still use GetFontData to get the SFNT tables. This is required to get the maxp table which contains the glyph count, which is required to use the font with the distance-field renderer. Task-number: QTBUG-28746 Change-Id: I3ca1e3d96ea53c453e6fa422b33d1f1f5050a82c Reviewed-by: Konstantin Ritt <>
Diffstat (limited to 'src/corelib/tools/qunicodetables.cpp')
0 files changed, 0 insertions, 0 deletions