-
Notifications
You must be signed in to change notification settings - Fork 146
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
add an explicit way to define the shape of drawn text #501
Comments
for clarity: as far as i can tell my issue with the current system actually stems from within the lib itself, as it seems to use the scale as the upper limits for the character, rather then using it as a set width and height. |
I would like to question the usage of rusttype in general, as it has been inactive (last release was 3 years ago) and unmaintained. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the current text scaling system makes it needlessly difficult to define the "shape" of a character.
i feel that something more explicit than the current
rusttype::Scale
based system may be beneficial to the usability of this library .one possibility is taking four numeric arguments, (
x
,y
,width
,height
). wherex
andy
define the position of the top left corner of the character, andwidth
andheight
define how far the character extends fromx
andy
The text was updated successfully, but these errors were encountered: