mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[glyf] "Support" glyf version 1
This commit is contained in:
1 parent
552290f604
commit
cfa9541daa
1 file changed
+1
-1
+1
-1
@@ -162,7 +162,7 @@ struct glyf_accelerator_t
|
||||
vmtx = nullptr;
|
||||
#endif
|
||||
const OT::head &head = *face->table.head;
|
||||
if (head.indexToLocFormat > 1 || head.glyphDataFormat > 0)
|
||||
if (head.indexToLocFormat > 1 || head.glyphDataFormat > 1)
|
||||
/* Unknown format. Leave num_glyphs=0, that takes care of disabling us. */
|
||||
return;
|
||||
short_offset = 0 == head.indexToLocFormat;
|
||||
|
||||
Reference in new issue
Block a user