summaryrefslogtreecommitdiff
path: root/src/truetype/ttobjs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/truetype/ttobjs.h')
-rw-r--r--src/truetype/ttobjs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/truetype/ttobjs.h b/src/truetype/ttobjs.h
index 423d3f005..d193b2dc3 100644
--- a/src/truetype/ttobjs.h
+++ b/src/truetype/ttobjs.h
@@ -316,7 +316,10 @@ FT_BEGIN_HEADER
{
FT_SizeRec root;
- FT_Size_Metrics metrics; /* slightly different from the root metrics */
+ /* we have our own copy of metrics so that we can modify */
+ /* it without affecting auto-hinting (when used) */
+ FT_Size_Metrics metrics;
+
TT_Size_Metrics ttmetrics;
#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS