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

Support for BDF fonts? #17

Open
tripflex opened this issue Jun 11, 2018 · 0 comments
Open

Support for BDF fonts? #17

tripflex opened this issue Jun 11, 2018 · 0 comments

Comments

@tripflex
Copy link
Contributor

tripflex commented Jun 11, 2018

I was looking for some way to possibly convert icons from http://fontello.com/ (so you only have to select what you will use), and use in this library, but from what I read in issues on the GFX lib and others, it wouldn't be as easy as just converting a font like normal.

I did find the ILI9341_t3 lib for the Teensy that had something similar, that would convert a font to BDF, which does work (conversion wise), i'm just not that familiar with how fonts are handled/displayed, and will take me some time to go through the code and see if it's even portable or not ... but what are your thoughts on this?

It would be awesome to be able to use a "font" to display icons which I think would be very useful ... but do you think this is even feasible?

Conversion Script:
https://github.com/PaulStoffregen/ILI9341_t3/tree/master/extras

struct:
https://github.com/PaulStoffregen/ILI9341_t3/blob/b9ab0852742c990cc9236054c4ed33bf9aa952a9/ILI9341_t3.h#L148

https://github.com/PaulStoffregen/ILI9341_t3/blob/master/ILI9341_t3.cpp

https://github.com/PaulStoffregen/ILI9341_t3/blob/master/ILI9341_t3.cpp#L1246

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