summaryrefslogtreecommitdiffstats
path: root/modules/freetype2/src/sfnt/ttmtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freetype2/src/sfnt/ttmtx.c')
-rw-r--r--modules/freetype2/src/sfnt/ttmtx.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/freetype2/src/sfnt/ttmtx.c b/modules/freetype2/src/sfnt/ttmtx.c
index 8c5508e24..6ddda95b5 100644
--- a/modules/freetype2/src/sfnt/ttmtx.c
+++ b/modules/freetype2/src/sfnt/ttmtx.c
@@ -4,7 +4,7 @@
/* */
/* Load the metrics tables common to TTF and OTF fonts (body). */
/* */
-/* Copyright 2006-2016 by */
+/* Copyright 2006-2018 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -30,6 +30,14 @@
#include "sferrors.h"
+ /* IMPORTANT: The TT_HoriHeader and TT_VertHeader structures should */
+ /* be identical except for the names of their fields, */
+ /* which are different. */
+ /* */
+ /* This ensures that `tt_face_load_hmtx' is able to read */
+ /* both the horizontal and vertical headers. */
+
+
/*************************************************************************/
/* */
/* The macro FT_COMPONENT is used in trace mode. It is an implicit */