-
Notifications
You must be signed in to change notification settings - Fork 167
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
Makeotf fixes #458
Makeotf fixes #458
Conversation
56744df
to
134a994
Compare
.travis.yml
Outdated
@@ -3,7 +3,7 @@ matrix: | |||
include: | |||
- os: linux | |||
env: NAME=Linux | |||
if: type = pull_request | |||
if: NOT branch =~ /^\d+\.\d+\.\d+.*$/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add detailed comments here and for each of the changes below so that future generations may learn more quickly than we did how and why to do this kind of thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Also, there are lots of minor issues that I'd like for us to clean up in MakeOTF.py, but nothing specific to the changes.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
because it leads to a UnicodeDecodeError later on. Bug introduced in 35783e4#diff-12c55c7004f8c76ee2b1741243a67cda Using decode here brings back issue #222 (UnicodeDecodeError: 'ascii' codec can't decode byte). Cosimo's patch (#222 (comment)) was included in f1c4511#diff-8c875fc8969988dc6583127ac4fb12f7
Completes the fix of #264
The files were sourced from https://github.com/adobe-type-tools/cmap-resources https://github.com/adobe-type-tools/Adobe-Japan1 https://github.com/adobe-type-tools/Adobe-GB1 https://github.com/adobe-type-tools/Adobe-CNS1
… of its format Historically, when the input font is CID the output OTF is written to the current directory, whereas in other input formats it's written to the same directory as the input font. This difference is odd, onerous and prone to error. This change makes the output OTF be written to the same directory as the input font regardless of its format. To make the output OTF be written to the current directory use option '-o .'
Makes it easier to do minor updates and makes the updates more transparent (since they'll be diff-able)
…rderAndAliasDB There's really no reason for treating UFO and Type 1 inputs differently in this regard
They were matching commented out FEA code, and compiling them outside of the method makes it more efficient (especially since the method is recursive) Fixes #148
This allows us to test the CI of a branch without having to start a PR
134a994
to
5e3f43a
Compare
Fixes #148, #222, #264, #457 and #459