mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Oops
This commit is contained in:
parent
8d07d6bf55
commit
55e8d547af
@ -133,7 +133,7 @@ class VerticalHeader(UnknownTable):
|
||||
setattr(self, f, val)
|
||||
|
||||
raw = vmtx.raw
|
||||
num = self.number_of_h_metrics
|
||||
num = self.number_of_v_metrics
|
||||
if len(raw) < 4*num:
|
||||
raise UnsupportedFont('The vmtx table has insufficient data')
|
||||
long_hor_metric = raw[:4*num]
|
||||
|
Loading…
x
Reference in New Issue
Block a user