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

[Image Rendering] Scale fonts in labels #10

Open
marianopeck opened this issue Aug 13, 2019 · 0 comments
Open

[Image Rendering] Scale fonts in labels #10

marianopeck opened this issue Aug 13, 2019 · 0 comments
Assignees
Labels

Comments

@marianopeck
Copy link
Collaborator

Would be nice to have HiDPI scaling to the text used for labels (it looks pixeled now). See:

CgPixmap>>#isAutoScalable
    ^false

You may try to create subclass and override this method (but I'm not sure about the result).
Second way is apply for current gc a scaled font. Something like:

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

No branches or pull requests

2 participants