[gelöst] ESP32 mit SSD1306 deutsche Umlaute

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Achim
Posts: 18
Joined: Sun Aug 15, 2021 5:43 pm

Re: ESP32 mit SSD1306 deutsche Umlaute

Post by Achim » Mon Aug 16, 2021 1:08 pm

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.

Taki7o7
Posts: 9
Joined: Sun Jul 03, 2022 11:50 pm

Re: [gelöst] ESP32 mit SSD1306 deutsche Umlaute

Post by Taki7o7 » Thu Jul 07, 2022 6:20 pm

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 ^^

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: [gelöst] ESP32 mit SSD1306 deutsche Umlaute

Post by pythoncoder » Fri Jul 08, 2022 9:14 am

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.

Taki7o7
Posts: 9
Joined: Sun Jul 03, 2022 11:50 pm

Re: [gelöst] ESP32 mit SSD1306 deutsche Umlaute

Post by Taki7o7 » Fri Jul 08, 2022 5:18 pm

pythoncoder wrote:
Fri Jul 08, 2022 9:14 am
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).
Thanks, it works great. Edited a 8x8 font and converted it with this. Also, i like the writer, very well done :)

Post Reply