-
Notifications
You must be signed in to change notification settings - Fork 168
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] Drop old MM in OpenType support #1144
Conversation
There is also code for reading MM from CFF fonts, but I’m not sure if I should remove it as well. |
aaf265e
to
036d737
Compare
There are some memory access issues I’m unable to track. I guess I should close the PR then, removing some unused and essentially harmless code is not worth the trouble. |
Also: |
036d737
to
60ae310
Compare
60ae310
to
9f43e53
Compare
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.
@khaledhosny I think this PR is OK as is, so I'm going to go ahead and approve it, but I noticed some multi-master code that still remains, in case you want to clear these out as part of this PR:
- cffread.h
- remove mm struct — this will likely uncover more than what I’ve listed below
- cffread.c
- remove cff_MultipleMaster case from DICTRead()
- parse.c
- remove saveForceBold()
- remove saveMM()
- recode.c
- in recodeAddNewGlyph(), remove these mm-related variables that are assigned values but not used:
- metrics_gi
- max_x
- max_y
- remove FillinMM_font_clampUDV()
- in recodeAddNewGlyph(), remove these mm-related variables that are assigned values but not used:
Yes, that is the MM reading code I was referring to in the commit message. I’ll work on it. |
Sorry, I spaced out on your comment about the MM reading code in my excitement over the memory issues. 😉 Thanks. |
It seems that |
I suspect @khaledhosny does that sound reasonable? Please let us know if you plan to make any more updates on this PR; if not, I think we ought to wrap it up and get it merged soon. I will open up an issue on the removal of |
Makes sense.
No more changes from me. |
Fixes #995