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

Missing font fix - speedup of large font-sizes #1685

Merged
merged 2 commits into from
Jan 23, 2023

Conversation

jpirnay
Copy link
Contributor

@jpirnay jpirnay commented Jan 23, 2023

There were a couple of deficiencies around the treatment of text elements:
File:
karten-test

Was:
image
a) Some font-properties like font-size and others were not properly recognised
after fixing this it became evident
b) that the treatment of establishing the text size was flawed as the size of the text box needed to be established every single time as paint_bounds was dirty by defintion
c) A large font-size that was reduced by a viewport would generate huge preview pictures (25000 x 6000 pixels) which made the manipulation of such elements nearly impossible

@jpirnay jpirnay merged commit 6215dd6 into meerk40t:main Jan 23, 2023
@jpirnay jpirnay deleted the missing-font-fix branch January 23, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants