-
Notifications
You must be signed in to change notification settings - Fork 90
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
merge_fonts.py KeyError: 'cid00001#1' #511
Comments
I saw KeyError: 'cid00001#15' after takign the same step to prevent the first error |
To fix the "AnatolianHieroglyphs" error, a new line 95 should be inserted in "AnatolianHieroglyphs":"hluw", So the section would become: "OlChiki": "olck",
"TaiLe": "tale",
# Following keys are added to satisfy the use case in merge_fonts.py
# Reference:
# https://www.google.com/get/noto/#sans-xsux
# https://www.google.com/get/noto/#sans-cprt
# https://www.google.com/get/noto/#sans-yiii
# https://www.microsoft.com/typography/otspec/scripttags.htm
"AnatolianHieroglyphs":"hluw",
"Cuneiform": "xsux",
"Cypriot": "cprt",
"Yi": "yi ", |
Is there no choice but to ignore the error now? |
Im getting the same error while trying to merge the CJK fonts with the Regular set. |
"file" section of merge_fonts.py
EDIT: |
This script only merges fonts, Does |
In addition to the easy to fix "AnatolianHieroglyphs" problem (thanks @rspilker ), there seem to be other issues making the script
The resulting errors of a dependency seem to be similar to these: fonttools/fonttools#1309 Noto is a great project, but we really need a single font file (for example when generating a pdf with unknown input language). |
I've installed master with pip and downloaded all fonts from https://www.google.com/get/noto/
When trying to merge with:
I first got an error:
KeyError: 'AnatolianHieroglyphs'
I've commented the line "'NotoSansAnatolianHieroglyphs-Regular.ttf'," in merge_fonts.py and tried again and got another error:
KeyError: 'cid00001#1'
The text was updated successfully, but these errors were encountered: