[merge.cff] Fix error message
As noticed in https://github.com/fonttools/fonttools/issues/3175
This commit is contained in:
parent
060b5f36bf
commit
978decb3a2
@ -239,7 +239,7 @@ ttLib.getTableClass("gasp").mergeMap = lambda self, lst: first(
|
|||||||
|
|
||||||
@add_method(ttLib.getTableClass("CFF "))
|
@add_method(ttLib.getTableClass("CFF "))
|
||||||
def merge(self, m, tables):
|
def merge(self, m, tables):
|
||||||
if any(hasattr(table, "FDSelect") for table in tables):
|
if any(hasattr(table.cff[0], "FDSelect") for table in tables):
|
||||||
raise NotImplementedError("Merging CID-keyed CFF tables is not supported yet")
|
raise NotImplementedError("Merging CID-keyed CFF tables is not supported yet")
|
||||||
|
|
||||||
for table in tables:
|
for table in tables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user