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

Fix text scaling and positioning problems in FontManager #125

Merged
merged 6 commits into from
Apr 19, 2022

Conversation

fjvallarino
Copy link
Owner

@fjvallarino fjvallarino commented Apr 18, 2022

FontManager, Haskell side, had duplicated scaling logic performed by the C module. This caused issues with size calculations, which then affected right alignment.

Discussed here: #124.

Added an x attribute to GlyphPos, which should be used when manually rendering glyphs (using xMin will cause positioning issues).

Discussed in this issue: #101.

@fjvallarino fjvallarino merged commit 574c08a into main Apr 19, 2022
@fjvallarino fjvallarino deleted the fix/text-calculations branch April 19, 2022 13:26
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