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

Can' get it work with fonts created by online "Font Converter" #4

Closed dl9sec closed 5 years ago

dl9sec commented 5 years ago

Hi, I created a font at http://oleddisplay.squix.ch with the folowing parameters: Preview Display: TFT 2.4" (240x320) Font Family: Monospaced Style: Bold Size: 11 Library Version: Adafruit GFX Font and pasted the output to the "Original font file" text input. Unfortunately nothing happens if i press "Extract". I also tried it locally. The test fonts are extracted, but not that (and others I created with the online "Font Converter". The format does't look different from that of the test fonts.

Any ideas?

Regards, Thorsten

tchapi commented 5 years ago

Hi Can you provide the font file you tried ? Are there any errors in the console when you test it ?

dl9sec commented 5 years ago

Thanks for the reply. Attached you'll find two example fonts I created from the genrator that did not work.

The FF-console says: TypeError: found_size is null index.html:214:7

Fonts.zip

dl9sec commented 5 years ago

Works perfect now. Great stuff! Thank you very much :-)