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 differences in glyphs positions used by FontManager and nanovg #105

Merged
merged 4 commits into from
Apr 2, 2022

Conversation

fjvallarino
Copy link
Owner

@fjvallarino fjvallarino commented Mar 29, 2022

Adjust dpr in FontManager to approximate formula used by nvg__getFontScale.

Discussed here: #101

@fjvallarino fjvallarino changed the title Use ignored dpr argument in makeFontManager Fix differences in returned glyphs positions between FontManager and nanovg Apr 2, 2022
@fjvallarino fjvallarino changed the title Fix differences in returned glyphs positions between FontManager and nanovg Fix differences in glyphs positions used by FontManager and nanovg Apr 2, 2022
@fjvallarino fjvallarino merged commit b80e2ca into main Apr 2, 2022
@fjvallarino fjvallarino deleted the fix/font-manager-dpr branch April 2, 2022 13:37
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