tchapi / Adafruit-GFX-Font-Customiser

A little utility to customise pixel fonts for the Adafruit GFX library
https://tchapi.github.io/Adafruit-GFX-Font-Customiser/
MIT License
90 stars 47 forks source link

MyFontIconsGlyphs does not distinguish hexa and decimal numbers #29

Closed Nagymadar closed 2 years ago

Nagymadar commented 2 years ago

Example read in: const GFXfont MyFontIcons PROGMEM = { (uint8_t )MyFontIconsBitmaps, (GFXglyph )MyFontIconsGlyphs, 32, 80, 24};

Example output, bug 0x32 and 0x80 instead of 32 and 80: const GFXfont MyFontIcons PROGMEM = { (uint8_t )MyFontIconsBitmaps, (GFXglyph )MyFontIconsGlyphs, 0x32, 0x80, 24};

tchapi commented 2 years ago

Thanks for the report. I'm quite busy on other projects right now but I'll have a look ASAP !

tchapi commented 2 years ago

Hi

https://github.com/tchapi/Adafruit-GFX-Font-Customiser/commit/8bc317623f52e00e51831a521134ef1b60bde569 should fix it. Would you be kind enough to test it ?

Thanks a lot