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

Fixed issue with the bold italic version of mononoki font is detected as a separate font #114

Open
Case3y opened this issue Jul 10, 2023 · 1 comment

Comments

@Case3y
Copy link

Case3y commented Jul 10, 2023

When I use windows terminal, I found that the blod italic version of mononoki font is detected as a separate font. I can choose mononoki BoldItalic. And there was no blod italic version when I choose mononoki font in Git Bash.

I intall the ttf font on my Windows system.

The number of fonts identified in the settings is correct !

image

But it is wrong in some software !

image

I solved the problem using this method proposed in #49, I delete the "Preferred Name" and "Preferred Styles"

What worked for me on Windows 7 SP1 is:

  • Open mononoki-BoldItalic.ttf with FontForge.

  • Choose "Element" menu -> "Font Info".

  • Choose "TTF Names" tab in the appeared "Font Information" window, and remove the "Preferred Styles" entry with its right-click menu.

  • Re-export the TTF via "File" menu -> "Generate Fonts".

It seems Windows is extraordinarily picky on many font properties.

Originally posted by @richardgv in #49 (comment)

屏幕截图 2023-07-10 121133

@Case3y
Copy link
Author

Case3y commented Jul 10, 2023

Could someone please solve this problem from the source code?

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

1 participant