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

add an explicit way to define the shape of drawn text #501

Open
anytarseir67 opened this issue Jun 24, 2022 · 2 comments
Open

add an explicit way to define the shape of drawn text #501

anytarseir67 opened this issue Jun 24, 2022 · 2 comments

Comments

@anytarseir67
Copy link

anytarseir67 commented Jun 24, 2022

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). where x and y define the position of the top left corner of the character, and width and height define how far the character extends from x and y

@anytarseir67
Copy link
Author

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.

@RouHim
Copy link

RouHim commented Sep 4, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants