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

Font height is based on scalex of font. #387

Open
gnysek opened this issue Oct 19, 2023 · 0 comments
Open

Font height is based on scalex of font. #387

gnysek opened this issue Oct 19, 2023 · 0 comments
Assignees

Comments

@gnysek
Copy link

gnysek commented Oct 19, 2023

I'm not sure if internal value of yyFont named scalex can be different than 1 - (as we don't have function to change font scalex - maybe it's for some future usage ?), but still, returning height based on xscale sounds like bug, and rather scaley should be used here:

return this.max_glyph_height * this.scalex;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants