Implement 'á'

This commit is contained in:
Alex Voinea 2023-09-25 08:26:32 +02:00
parent a267d80fe2
commit c0875f37f2
4 changed files with 4 additions and 2 deletions

View File

@ -8,3 +8,4 @@
{0x1C, {0x07, 0x9A, 0x87, 0x00, }, '\xe5'}, // index=0x87, utf8='🕑'
{0x24, {0x00, 0x85, 0x28, 0x52, }, '\x7e'}, // index=0x88, utf8='⏬'
{0x06, {0x00, 0x1B, 0xE4, 0x00, }, '\x7e'}, // index=0x89, utf8='✔'
{0xF0, {0x12, 0x07, 0x07, 0x87, }, 'a'}, // index=0x8A, utf8='á'

View File

@ -21,6 +21,7 @@ FONT_TABLE = [
CustomCharacter('🕑', 7, '\\xe5'),
CustomCharacter('', 8, '\\x7e'),
CustomCharacter('', 9, '\\x7e'),
CustomCharacter('á', 16, 'a'),
]
BUILTIN_CHARS = {

View File

@ -20,7 +20,7 @@
<CHAR CODE="13" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>
<CHAR CODE="14" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>
<CHAR CODE="15" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>
<CHAR CODE="16" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>
<CHAR CODE="16" PIXELS="16777215,16777215,16777215,16777215,16777215,16777215,0,16777215,16777215,16777215,16777215,0,16777215,0,16777215,0,16777215,0,16777215,0,16777215,0,16777215,0,0,16777215,16777215,0,16777215,0,16777215,0,16777215,16777215,16777215,16777215,0,0,0,0"/>
<CHAR CODE="17" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>
<CHAR CODE="18" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>
<CHAR CODE="19" PIXELS="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"/>

View File

@ -20,7 +20,7 @@ from .FontGen import CUSTOM_CHARS
# https://en.wikipedia.org/wiki/Norwegian_orthography
TRANS_CHARS = {
'á': 'a', #cz,fr,es,hu,sk
# 'á': 'a', #cz,fr,es,hu,sk
'Á': 'A', #cz,fr,hu,sk
'à': 'a', #fr,it
'À': 'A', #fr,it