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 support for float font sizes #435

Open
SNBSLibs opened this issue Oct 12, 2023 · 0 comments
Open

Add support for float font sizes #435

SNBSLibs opened this issue Oct 12, 2023 · 0 comments

Comments

@SNBSLibs
Copy link

I know you don't want new font formats. But font size is different, and the integer-only support makes this library a bit inflexible.

On my SSD1306 blue OLED display, font of size 1 is really small (56 characters take up just a half of the display), while font of size 2 is a bit large (56 characters don't fit in there). I suggest adding support for float font sizes to make them more flexible.

I've modified the library to implement it. My code currently does the job by just increasing the gaps between letters, but it looks much better than size 1 or 2.

Should I issue a PR?

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