Skip to content

Support for BDF fonts? #17

@tripflex

Description

@tripflex

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions