mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix handling of composite glyphs
This commit is contained in:
parent
d169599f63
commit
caf8e0ebed
@ -49,7 +49,7 @@ class CompositeGlyph(SimpleGlyph):
|
||||
self.is_composite = True
|
||||
|
||||
flags = MORE_COMPONENTS
|
||||
offset = 0
|
||||
offset = 10
|
||||
while flags & MORE_COMPONENTS:
|
||||
flags, glyph_index = unpack_from(b'>HH', raw, offset)
|
||||
self.glyph_indices.append(glyph_index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user