Ich brauche für diese Programmierung (ganz unten im PDF) ein Modul Namens font0. Wo genau kann ich dieses finden? Google hat leider nichts ausgespuckt.
MfG 3DFreaky
Ich brauche für diese Programmierung (ganz unten im PDF) ein Modul Namens font0. Wo genau kann ich dieses finden? Google hat leider nichts ausgespuckt.
MfG 3DFreaky
bitmap 8x8 vga font gesucht? Schau mal ob du hier fündig wirst!
Hi 3DFreak,
QuoteDisplay More
[font="Arial"]A quick internet search for 8x8 [/font]
[font="Arial"]fonts gave me exactly what I needed: 128 characters in ASCII order, encoded as 8 [/font]
[font="Arial"]rows of [/font]
[font="Arial"]8 pixels (bits). All I needed to do was ‘pythonize’ the data into one big list of lists, like this:[/font]
[font="Arial"]data = [
...[/font]
[font="Arial"][ 0x0C, 0x1E, 0x33, 0x33, 0x3F, 0x33, 0x33, 0x00], # U+0041 (A)[/font]
[font="Arial"][ 0x3F, 0x66, 0x66, 0x3E, 0x66, 0x66, 0x3F, 0x00], # U+0042 (B)[/font]
[font="Arial"][ 0x3C, 0x66, 0x03, 0x03, 0x03, 0x66, 0x3C, 0x00], # U+0043 (C)[/font]
[font="Arial"]... ][/font]
[font="Arial"]This looks useful, so I put it into its own file, font0.py
[/font]
manchmal genügt es, eine Anleitung aufmerksam zu lesen ...![]()
Ist halt bei Technik allgemein und bei Programmen im speziellen essentiell wichtig.
greetz,
-ds-
Removed!
Don’t have an account yet? Register yourself now and be a part of our community!