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

Should Cozette HiDPI have a family name of "Cozette"? #138

Closed
remexre opened this issue Oct 25, 2024 · 2 comments
Closed

Should Cozette HiDPI have a family name of "Cozette"? #138

remexre opened this issue Oct 25, 2024 · 2 comments
Assignees

Comments

@remexre
Copy link

remexre commented Oct 25, 2024

I have two monitors, one HiDPI and one not. Alacritty on Wayland with Terminus is able to adapt between them, using a larger font size on the HiDPI monitor to compensate for the smaller pixel size. This doesn't seem to work with Cozette 1.24.1 as shipped in the GitHub releases, because Cozette HiDPI has a different family name than the normal version.

I'm using this Python script to patch the font and fix this, but is there any reason not to just generate it in the first place with the same family name, since they are the same family?

font = fontforge.open(sys.argv[1])
font.familyname = "Cozette"
font.generate(sys.argv[1])
@im-n1
Copy link

im-n1 commented Dec 14, 2024

I do upvote for this. I have to switch between hi-dpi and non-hi-dpi version in many programs.

@slavfox slavfox self-assigned this Dec 30, 2024
@slavfox
Copy link
Owner

slavfox commented Dec 31, 2024

Fixed in v.1.6.0

@slavfox slavfox closed this as completed Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants