This commit is contained in:
treeform 2021-09-02 10:35:46 -07:00
parent 439c14ee5b
commit 5188f28eb0

View file

@ -520,7 +520,7 @@ proc parseHheaTable(buf: string, offset: int): HheaTable =
# discard buf.readUint16(offset + 30).swap() # Reserved
result.metricDataFormat = buf.readInt16(offset + 32).swap()
if result.metricDataFormat != 0:
failUnsupported("Hhea glyph data format")
failUnsupported("Hhea metric data format")
result.numberOfHMetrics = buf.readUint16(offset + 34).swap()
proc parseMaxpTable(buf: string, offset: int): MaxpTable =