And another warning from Wojciech.
This commit is contained in:
parent
e5c0fff5af
commit
d708658c4a
|
@ -1353,7 +1353,7 @@
|
||||||
|
|
||||||
tt_face_get_metrics( face, FALSE, glyph_index, &abearing, &aadvance );
|
tt_face_get_metrics( face, FALSE, glyph_index, &abearing, &aadvance );
|
||||||
|
|
||||||
metrics->horiBearingX = originOffsetX;
|
metrics->horiBearingX = (FT_Short)originOffsetX;
|
||||||
metrics->horiBearingY = (FT_Short)( -originOffsetY + metrics->height );
|
metrics->horiBearingY = (FT_Short)( -originOffsetY + metrics->height );
|
||||||
metrics->horiAdvance = (FT_Short)( aadvance *
|
metrics->horiAdvance = (FT_Short)( aadvance *
|
||||||
face->root.size->metrics.x_ppem /
|
face->root.size->metrics.x_ppem /
|
||||||
|
|
Loading…
Reference in New Issue