Vielen Dank nochmal.
Ich habe mit font_to_py die FreeSans.ttf auf meinem Raspberry auf die Größe 16 mit Umlauten erstellt. Es geht nur mit der Version 0.33:
# Code generated by font_to_py.py.
# Font: FreeSans.ttf
# Cmd: font_to_py.py -x -l255 FreeSans.ttf 16 freesans16_255.py
version = '0.33'
Vielen Dank nochmal.
[gelöst] ESP32 mit SSD1306 deutsche Umlaute
Re: [gelöst] ESP32 mit SSD1306 deutsche Umlaute
I do not get smarter from reading font_to_py docs, somebody has a guide for that?
//EDIT: Oh nvm i understand now, just found the other readme files ^^
//EDIT: Oh nvm i understand now, just found the other readme files ^^
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: [gelöst] ESP32 mit SSD1306 deutsche Umlaute
This is the doc. You should be able to produce fonts with any Unicode characters using the -k option (provided the glyphs are present in the source ttf or otf file).
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: [gelöst] ESP32 mit SSD1306 deutsche Umlaute
Thanks, it works great. Edited a 8x8 font and converted it with this. Also, i like the writer, very well donepythoncoder wrote: ↑Fri Jul 08, 2022 9:14 amThis is the doc. You should be able to produce fonts with any Unicode characters using the -k option (provided the glyphs are present in the source ttf or otf file).