ropg / truetype2gfx

Converting fonts from TrueType to Adafruit GFX
74 stars 16 forks source link

ASCII 256Bit #13

Open bmueller78 opened 3 years ago

bmueller78 commented 3 years ago

Hello Rob, I need a font with an extended ASCII-Set 256Bit. Because I use Letters like ä,ü,ö. Can you help me?

ropg commented 3 years ago

I think the adafruit tool allows for setting starting and ending codepoint, but only for one contiguous block. M5Stack has a tool that can do multiple blocks, but only for display on their modified display driver. But german accents should be doable, I just haven experimented.

I will update the tool, one day, to also do SMOOTH_FONTS (anti-aliased fonts) and these multiple code blocks. But then building a UI for it will be more complicated. M5Stack again has something, but I think it's windows binary only.

daybyter commented 3 years ago

Same here. Need german umlauts for a project. What irritates me a bit: when you type an umlaut in the demo text box, it is displayed correctly with the umlaut. But the generated font for that same font only seems to contain the first 128 characters?

ropg commented 3 years ago

I use the Adafruit library underneath and can only do tricks that they can do, which can only specify a starting and ending "code point" for the resulting character set. i plan to look into slightly newer ways of doing special characters for selected display drivers in the next few months...

XFer012 commented 1 year ago

Bodmer (author of the TFT_eSPI library) created an improved fork of the Adafruit GFX library which apparently can properly convert 8-bit fonts: https://github.com/Bodmer/Adafruit-GFX-Library

It would be GREAT to have your nice online converter to properly handle accented chars! :)

palsbo commented 8 months ago

I was also looking for 256bits fonts - any progress on this? Great program by the way.

nehal-rehman commented 2 months ago

Did anyone found the solution? I also need to use extended fonts and characters like ä,ü,ö and more. I tried to edit the .ttf file but the converter only gave me the default characters even though I had deleted the default characters from my true type file. May be I am doing something wrong. Any ways if any of you found the solution do let me know also I am specifically looking for GFXfont supported library. Thank you.