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

Scaled drawText #401

Open
victornpb opened this issue Oct 16, 2024 · 0 comments
Open

Scaled drawText #401

victornpb opened this issue Oct 16, 2024 · 0 comments

Comments

@victornpb
Copy link

victornpb commented Oct 16, 2024

I want to draw really big text, I saw theres a script to make custom fonts, but would be good if i could just scale up the existent fonts, either by stretching them

cv.selectFont(&fabgl::FONT_SLANT_8x14);
cv.drawText(0,0, 100, "Hello"); // draw 100px height

or even a scale factor of 2x, 3x, 4x... less flexible but would be useful

Is that possible, or would be something easy to modify

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

1 participant