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

Could not set size lesser than certain value #223

Open
pincher2012 opened this issue Nov 14, 2018 · 1 comment
Open

Could not set size lesser than certain value #223

pincher2012 opened this issue Nov 14, 2018 · 1 comment

Comments

@pincher2012
Copy link

return Math.round(Math.max(fontSize, newHeight));

This code use image dimensions and App.defaults.scale which is not configurable for fontSize computing.

size: textSize(scene.width, scene.height, fontSize, App.defaults.scale),

Hence font size could not be lesser then some computed value. It would be great to set any font size.

@imsky
Copy link
Owner

imsky commented Nov 26, 2018

yes Holder was designed to render text in a "foolproof" way, so that tiny text would be impossible

i'll think about this, seems reasonable to allow more control. probably a v3 feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants