Fix a typo in the comment for TrueType fonts with embedded bitmaps
Change-Id: I1484c32af03070b8c15c90f21a1ed8a8efde7797 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
a68e1b96b8
commit
c2cbd80425
@ -780,7 +780,7 @@ bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format,
|
|||||||
TrueType fonts with embedded bitmaps may have a bitmap font specific
|
TrueType fonts with embedded bitmaps may have a bitmap font specific
|
||||||
ascent/descent in the EBLC table. There is no direct public API
|
ascent/descent in the EBLC table. There is no direct public API
|
||||||
to extract those values. The only way we've found is to trick freetype
|
to extract those values. The only way we've found is to trick freetype
|
||||||
into thinking that it's not a scalable font in FT_SelectSize so that
|
into thinking that it's not a scalable font in FT_Select_Size so that
|
||||||
the metrics are retrieved from the bitmap strikes.
|
the metrics are retrieved from the bitmap strikes.
|
||||||
*/
|
*/
|
||||||
if (FT_IS_SCALABLE(face)) {
|
if (FT_IS_SCALABLE(face)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user