Skip to content

Use DPI scaling to scale drawn fonts.#114

Merged
sgothel merged 1 commit intosgothel:masterfrom
gbburkhardt:master
Jun 10, 2023
Merged

Use DPI scaling to scale drawn fonts.#114
sgothel merged 1 commit intosgothel:masterfrom
gbburkhardt:master

Conversation

@gbburkhardt
Copy link
Copy Markdown
Contributor

This fixes the scaling of fonts that are drawn to a GLCanvas or GLPanel. Previously, drawn text was the same size regardless of DPI scaling setting.

@sgothel sgothel merged commit 38ed05b into sgothel:master Jun 10, 2023
@sgothel
Copy link
Copy Markdown
Owner

sgothel commented Jun 10, 2023

Thank you @gbburkhardt
Even though I use Graph w/ our own font rendering + GraphUI these days (see blogs https://jausoft.com/blog/tag/graph_type_rendering/) .. this shall help whoever still uses the old AWT resolution dependent rendering solution.
Great catch!

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.

2 participants