ref: 144d10873d6eebbadde21ebebfa2beb3eb6adfca
parent: 1dee4bf9f7dc0780dcc922de35321ed5f0bd089d
author: Werner Lemberg <[email protected]>
date: Mon Feb 6 02:54:59 EST 2017
Add comment that we don't use VORG table.
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -305,6 +305,11 @@
/* `horiAdvance' or `vertAdvance'; you have to manually adjust these */
/* values to account for the added width and height. */
/* */
+ /* FreeType doesn't use the `VORG' table data for CFF fonts because */
+ /* it doesn't have an interface to quickly retrieve the glyph height. */
+ /* The y~coordinate of the vertical origin can be simply computed as */
+ /* `vertBearingY + height' after loading a glyph. */
+ /* */
typedef struct FT_Glyph_Metrics_
{
FT_Pos width;