From 144d10873d6eebbadde21ebebfa2beb3eb6adfca Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 6 Feb 2017 07:54:59 +0100 Subject: [PATCH] Add comment that we don't use VORG table. --- include/freetype/freetype.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 1e623ec04..568a588f2 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -305,6 +305,11 @@ FT_BEGIN_HEADER /* `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;