Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to run and merge all fonts specified in merge_fonts.py script. #490

Open
ashakoshti1988 opened this issue Jul 18, 2019 · 0 comments

Comments

@ashakoshti1988
Copy link

Hi,
I am not able to merge all fonts specified in merge_fonts.py file getting below errors:
./merge_fonts.py -d Noto-unhinted/ -o NotoSansMerged-Regular.ttf
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
WARNING:fontTools.misc.fixedTools:Table version value is a float: 1.0000; fix to use hex instead: 0x00010000
Merging 62 Fonts...
Traceback (most recent call last):
File "./merge_fonts.py", line 184, in
main()
File "./merge_fonts.py", line 170, in main
font = merger.merge(valid_files)
File "/usr/local/lib/python3.7/site-packages/fonttools-3.43.3.dev0-py3.7.egg/fontTools/merge.py", line 999, in merge
table = clazz(tag).merge(self, tables)
File "/usr/local/lib/python3.7/site-packages/fonttools-3.43.3.dev0-py3.7.egg/fontTools/merge.py", line 160, in merge
return m.mergeObjects(self, self.mergeMap, tables)
File "/usr/local/lib/python3.7/site-packages/fonttools-3.43.3.dev0-py3.7.egg/fontTools/merge.py", line 1045, in mergeObjects
value = mergeLogic(getattr(table, key, NotImplemented) for table in tables)
File "/usr/local/lib/python3.7/site-packages/fonttools-3.43.3.dev0-py3.7.egg/fontTools/merge.py", line 49, in equal
assert all(item == first for item in t), "Expected all items to be equal: %s" % lst
AssertionError: Expected all items to be equal: [1000, 1000, 2048, 1000, 1000, 2048, 2048, 1000, 1000, 2048, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 2048, 2048, 1000, 2048, 2048, 2048, 1000, 1000, 1000, 1000, 1000, 2048, 2048, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 2048, 1000, 2048, 1000, 1000, 2048, 1000, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 1000, 1000, 1000, 1000, 1000]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant