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

Get missing glyphs - Use freetype instead of fonttools + fixes #26

Merged
merged 18 commits into from Oct 8, 2023

Conversation

moi15moi
Copy link
Owner

@moi15moi moi15moi commented Aug 15, 2023

fontTools seems to have multiple issue to decode the cmap table.

So, we replace fontTools with freetype which seems way more stable. Libass also use freetype to decode the cmap.

It also resolve the problem @LYS1THEA reported here: #20 (comment)

Also, this PR resolve 2 issues:

  • Deal correctly with symbol cmap by trying to guess the encoding.
  • Deal correctly with unicode cmap. We previously correctly deal with those, but a bug was introduce in 2f57e0f

@moi15moi moi15moi changed the title Get missing glyphs - Use freetype instead of fonttools Get missing glyphs - Use freetype instead of fonttools + fixes Oct 8, 2023
@moi15moi moi15moi merged commit c245aa3 into main Oct 8, 2023
@moi15moi moi15moi deleted the get-missing-glyphs-use-freetype-instead-of-fonttools branch May 5, 2024 01:14
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

Successfully merging this pull request may close these issues.

None yet

1 participant