We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
VSFilter/GDI truncate font name to 31 characters.
Currently, Libass doesn't emulated this behaviour. See: libass/libass#459 Since it doesn't emulated it, this won't be implemente until libass does.
All the test I did was with this font: A-Farzian-2-Regular.zip I rename the font with different name to see what name GDI would return me:
from fontTools.ttLib.ttFont import TTFont font = TTFont("A-Farzian-2-Regular.ttf") names = [ "a"*30 + "😋" "a"*31 + "😋", "a"*32, "😋" * 20, ] for name in names: font["name"].setName(name, 1, 3, 1, 0x409) font.save(f"{name}.TTF")
The text was updated successfully, but these errors were encountered:
Add is_font_name_match and test
6bf0ff8
This commit close #18
Closed by #34 For more information, see: #22 (comment)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Problem
VSFilter/GDI truncate font name to 31 characters.
Currently, Libass doesn't emulated this behaviour. See: libass/libass#459
Since it doesn't emulated it, this won't be implemente until libass does.
Which test I did to know how GDI works.
All the test I did was with this font: A-Farzian-2-Regular.zip
I rename the font with different name to see what name GDI would return me:
The text was updated successfully, but these errors were encountered: