diff options
author | Haibo Huang <hhb@google.com> | 2021-01-28 16:30:02 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2021-01-28 16:30:02 -0800 |
commit | 4b13d1b3189adf4eae17ecabed4b384db0c6c344 (patch) | |
tree | 9e1900fef3e4bbd303b3089a7e7ef115a255349a /Lib/fontTools/ttLib/woff2.py | |
parent | f8d82f7a26154921102824802b7c16b9ac722f85 (diff) | |
download | fonttools-4b13d1b3189adf4eae17ecabed4b384db0c6c344.tar.gz |
Upgrade fonttools to 4.19.1
Test: make
Change-Id: I4ab74ae6ca9f96da56b09599920f941d5aff4283
Diffstat (limited to 'Lib/fontTools/ttLib/woff2.py')
-rw-r--r-- | Lib/fontTools/ttLib/woff2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/fontTools/ttLib/woff2.py b/Lib/fontTools/ttLib/woff2.py index 75b55527..d088b70f 100644 --- a/Lib/fontTools/ttLib/woff2.py +++ b/Lib/fontTools/ttLib/woff2.py @@ -11,7 +11,7 @@ from fontTools.ttLib import (TTFont, TTLibError, getTableModule, getTableClass, from fontTools.ttLib.sfnt import (SFNTReader, SFNTWriter, DirectoryEntry, WOFFFlavorData, sfntDirectoryFormat, sfntDirectorySize, SFNTDirectoryEntry, sfntDirectoryEntrySize, calcChecksum) -from fontTools.ttLib.tables import ttProgram +from fontTools.ttLib.tables import ttProgram, _g_l_y_f import logging @@ -934,7 +934,7 @@ class WOFF2GlyfTable(getTableClass('glyf')): flags = array.array('B') triplets = array.array('B') for i in range(len(coordinates)): - onCurve = glyph.flags[i] + onCurve = glyph.flags[i] & _g_l_y_f.flagOnCurve x, y = coordinates[i] absX = abs(x) absY = abs(y) |