8000 fonttools merge doesn't detect identical character · Issue #2826 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fonttools merge doesn't detect identical character #2826

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

Closed
hzineb opened this issue Sep 20, 2022 · 2 comments
Closed

fonttools merge doesn't detect identical character #2826

hzineb opened this issue Sep 20, 2022 · 2 comments

Comments

@hzineb
Copy link
hzineb commented Sep 20, 2022

Hello,
I was doing some manupilation with fonttools merge in order to see its behaviour when we merge the same font file or when we merge a subset non compact and a compact subset that contains the same characters. But the result was that fonttools keeps all the characters, so we end up with redundant characters in the output file.
You will find attached the files in and the files out, in the first manipulation, we try to merge file1NoCompact with file1NoCompact which lead to merge1.otf and in the second manipulation we merge file1NoCompact with file1Compact which lead to merge2.otf.

manupilation.zip

I wonder if we can use an option in order to avoid redundant characters.

Regards,
ZINEB

@khaledhosny
Copy link
Collaborator

Duplicate of #2490

@khaledhosny khaledhosny marked this as a duplicate of #2490 Sep 20, 2022
@hzineb
Copy link
Author
hzineb commented Sep 22, 2022

Hello,

I use the version 04.33.3 of fonttools, and I have duplicate glyphs in the merge file. I checked the original tickets, I found that two commits were done to solve the problem, they are referenced by the #2475
My fonttools is supposed to contain the fixes, but I still have duplicate glyphs with suffix #1 in the second glyph.

Please let me know how can I keep only one glyph per character in the output merge file.

Regards,
ZINEB

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

2 participants
0