aboutsummaryrefslogtreecommitdiff
path: root/source/font
diff options
context:
space:
mode:
authorNebuleon Fumika2012-12-19 18:38:04 -0500
committerNebuleon Fumika2012-12-19 18:38:04 -0500
commit973cd8d5e37dba2e15de3d3fd1965d2fbfc2cdab (patch)
tree9c4345f25d8c0f1d99ca5132c842882a11a40339 /source/font
parenteee0a7ecdaa08f15ebeb7821d6e805234dc78c33 (diff)
downloadsnesemu-973cd8d5e37dba2e15de3d3fd1965d2fbfc2cdab.tar.gz
snesemu-973cd8d5e37dba2e15de3d3fd1965d2fbfc2cdab.tar.bz2
snesemu-973cd8d5e37dba2e15de3d3fd1965d2fbfc2cdab.zip
EN: Link the French translation to the interface. FR: Ajout de la traduction française à l'interface.
EN: * bdf_font.c: Add support for having a main font, [0], of more than 128 characters. Refactor character width checks into a new function, BDF_width16_ucs. * bdf_font.h, draw.h, gui.c: Use UTF-8 for all strings to allow more translations. Use BDF_width16_ucs where possible. FR: * bdf_font.c: Prendre en charge une police principale, [0], de plus de 128 caractères. Diriger les vérifications de la largeur d'un caractère vers une nouvelle routine, BDF_width16_ucs. * bdf_font.h, draw.h, gui.c: Utiliser le codage UTF-8 pour toutes les chaînes pour permettre d'autres traductions. Utiliser BDF_width16_ucs là où c'est possible.
Diffstat (limited to 'source/font')
-rw-r--r--source/font/Pictochat-16.bdf2682
-rw-r--r--source/font/README.txt40
2 files changed, 2722 insertions, 0 deletions
diff --git a/source/font/Pictochat-16.bdf b/source/font/Pictochat-16.bdf
new file mode 100644
index 0000000..9749a85
--- /dev/null
+++ b/source/font/Pictochat-16.bdf
@@ -0,0 +1,2682 @@
+STARTFONT 2.1
+FONT -FontForge-Pictochat-Book-R-Normal--16-150-75-75-P-53-ISO10646-1
+SIZE 15 75 75
+FONTBOUNDINGBOX 9 13 0 -1
+COMMENT "Generated by fontforge, http://fontforge.sourceforge.net"
+STARTPROPERTIES 37
+FAMILY_NAME "Pictochat"
+WEIGHT_NAME "Book"
+SLANT "R"
+SETWIDTH_NAME "Normal"
+ADD_STYLE_NAME ""
+PIXEL_SIZE 16
+POINT_SIZE 150
+RESOLUTION_X 75
+RESOLUTION_Y 75
+SPACING "P"
+AVERAGE_WIDTH 53
+CHARSET_REGISTRY "ISO10646"
+CHARSET_ENCODING "1"
+FONTNAME_REGISTRY ""
+CHARSET_COLLECTIONS "ISO10646-1"
+FONT_NAME "Pictochat"
+FACE_NAME "Pictochat Regular"
+FONT_VERSION "1.0"
+FONT_ASCENT 13
+FONT_DESCENT 3
+UNDERLINE_POSITION 2
+UNDERLINE_THICKNESS 1
+X_HEIGHT 5
+CAP_HEIGHT 8
+RAW_ASCENT 799
+RAW_DESCENT 200
+NORM_SPACE 2
+RELATIVE_WEIGHT 40
+RELATIVE_SETWIDTH 50
+SUPERSCRIPT_X 0
+SUPERSCRIPT_Y 8
+SUPERSCRIPT_SIZE 8
+SUBSCRIPT_X 0
+SUBSCRIPT_Y 0
+SUBSCRIPT_SIZE 8
+AVG_LOWERCASE_WIDTH 55
+AVG_UPPERCASE_WIDTH 56
+ENDPROPERTIES
+CHARS 176
+STARTCHAR space
+ENCODING 32
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 1 0 0
+BITMAP
+00
+ENDCHAR
+STARTCHAR exclam
+ENCODING 33
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 9 0 0
+BITMAP
+80
+80
+80
+80
+80
+80
+00
+80
+80
+ENDCHAR
+STARTCHAR quotedbl
+ENCODING 34
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 3 0 6
+BITMAP
+28
+50
+A0
+ENDCHAR
+STARTCHAR numbersign
+ENCODING 35
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 9 0 0
+BITMAP
+14
+14
+7E
+28
+28
+28
+FC
+50
+50
+ENDCHAR
+STARTCHAR dollar
+ENCODING 36
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+70
+A8
+A0
+70
+28
+A8
+70
+20
+ENDCHAR
+STARTCHAR percent
+ENCODING 37
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 9 0 0
+BITMAP
+44
+A4
+A8
+48
+10
+24
+2A
+4A
+44
+ENDCHAR
+STARTCHAR ampersand
+ENCODING 38
+SWIDTH 437 0
+DWIDTH 7 0
+BBX 6 9 0 0
+BITMAP
+20
+50
+50
+50
+20
+54
+88
+88
+74
+ENDCHAR
+STARTCHAR quotesingle
+ENCODING 39
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 1 2 1 7
+BITMAP
+80
+80
+ENDCHAR
+STARTCHAR parenleft
+ENCODING 40
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+20
+40
+40
+80
+80
+80
+40
+40
+20
+ENDCHAR
+STARTCHAR parenright
+ENCODING 41
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+80
+40
+40
+20
+20
+20
+40
+40
+80
+ENDCHAR
+STARTCHAR asterisk
+ENCODING 42
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 7 0 1
+BITMAP
+10
+92
+54
+38
+54
+92
+10
+ENDCHAR
+STARTCHAR plus
+ENCODING 43
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 5 0 2
+BITMAP
+20
+20
+F8
+20
+20
+ENDCHAR
+STARTCHAR comma
+ENCODING 44
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 2 2 0 -1
+BITMAP
+40
+80
+ENDCHAR
+STARTCHAR hyphen
+ENCODING 45
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 1 0 4
+BITMAP
+F8
+ENDCHAR
+STARTCHAR period
+ENCODING 46
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 1 1 0 0
+BITMAP
+80
+ENDCHAR
+STARTCHAR slash
+ENCODING 47
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+20
+20
+20
+40
+40
+40
+80
+80
+80
+ENDCHAR
+STARTCHAR zero
+ENCODING 48
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+70
+88
+98
+98
+A8
+C8
+C8
+88
+70
+ENDCHAR
+STARTCHAR one
+ENCODING 49
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 2 9 0 0
+BITMAP
+C0
+40
+40
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR two
+ENCODING 50
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F0
+08
+08
+08
+70
+80
+80
+80
+F8
+ENDCHAR
+STARTCHAR three
+ENCODING 51
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F0
+08
+08
+08
+70
+08
+08
+08
+F0
+ENDCHAR
+STARTCHAR four
+ENCODING 52
+SWIDTH 437 0
+DWIDTH 7 0
+BBX 6 9 0 0
+BITMAP
+88
+88
+88
+88
+88
+7C
+08
+08
+08
+ENDCHAR
+STARTCHAR five
+ENCODING 53
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F8
+80
+80
+80
+F0
+08
+08
+08
+F0
+ENDCHAR
+STARTCHAR six
+ENCODING 54
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+70
+80
+80
+80
+F0
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR seven
+ENCODING 55
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F8
+08
+08
+10
+20
+20
+20
+20
+20
+ENDCHAR
+STARTCHAR eight
+ENCODING 56
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+70
+88
+88
+88
+70
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR nine
+ENCODING 57
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+70
+88
+88
+88
+78
+08
+08
+08
+70
+ENDCHAR
+STARTCHAR colon
+ENCODING 58
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 5 0 2
+BITMAP
+80
+00
+00
+00
+80
+ENDCHAR
+STARTCHAR semicolon
+ENCODING 59
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 2 6 0 1
+BITMAP
+40
+00
+00
+00
+40
+80
+ENDCHAR
+STARTCHAR less
+ENCODING 60
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 5 0 2
+BITMAP
+20
+40
+80
+40
+20
+ENDCHAR
+STARTCHAR equal
+ENCODING 61
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 3 0 3
+BITMAP
+F8
+00
+F8
+ENDCHAR
+STARTCHAR greater
+ENCODING 62
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 5 0 2
+BITMAP
+80
+40
+20
+40
+80
+ENDCHAR
+STARTCHAR question
+ENCODING 63
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+E0
+10
+10
+20
+40
+40
+00
+40
+40
+ENDCHAR
+STARTCHAR at
+ENCODING 64
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 9 0 0
+BITMAP
+38
+44
+9A
+AA
+AA
+AA
+9C
+40
+3C
+ENDCHAR
+STARTCHAR A
+ENCODING 65
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR B
+ENCODING 66
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F0
+88
+88
+88
+F0
+88
+88
+88
+F0
+ENDCHAR
+STARTCHAR C
+ENCODING 67
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+78
+80
+80
+80
+80
+80
+80
+80
+78
+ENDCHAR
+STARTCHAR D
+ENCODING 68
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F0
+88
+88
+88
+88
+88
+88
+88
+F0
+ENDCHAR
+STARTCHAR E
+ENCODING 69
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+F0
+80
+80
+80
+F0
+80
+80
+80
+F0
+ENDCHAR
+STARTCHAR F
+ENCODING 70
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+F0
+80
+80
+80
+F0
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR G
+ENCODING 71
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+78
+80
+80
+80
+B8
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR H
+ENCODING 72
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+88
+88
+F8
+88
+88
+88
+88
+ENDCHAR
+STARTCHAR I
+ENCODING 73
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 9 0 0
+BITMAP
+80
+80
+80
+80
+80
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR J
+ENCODING 74
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+10
+10
+10
+10
+10
+10
+10
+10
+E0
+ENDCHAR
+STARTCHAR K
+ENCODING 75
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+90
+90
+A0
+C0
+A0
+90
+90
+88
+ENDCHAR
+STARTCHAR L
+ENCODING 76
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+80
+80
+80
+80
+80
+80
+80
+80
+F0
+ENDCHAR
+STARTCHAR M
+ENCODING 77
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+D8
+D8
+A8
+A8
+88
+88
+88
+ENDCHAR
+STARTCHAR N
+ENCODING 78
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+C8
+C8
+A8
+A8
+98
+98
+88
+88
+ENDCHAR
+STARTCHAR O
+ENCODING 79
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+70
+88
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR P
+ENCODING 80
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F0
+88
+88
+88
+F0
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR Q
+ENCODING 81
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 10 0 -1
+BITMAP
+70
+88
+88
+88
+88
+88
+88
+A8
+70
+18
+ENDCHAR
+STARTCHAR R
+ENCODING 82
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F0
+88
+88
+88
+F0
+90
+90
+88
+88
+ENDCHAR
+STARTCHAR S
+ENCODING 83
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+70
+80
+80
+80
+60
+10
+10
+10
+E0
+ENDCHAR
+STARTCHAR T
+ENCODING 84
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+F8
+20
+20
+20
+20
+20
+20
+20
+20
+ENDCHAR
+STARTCHAR U
+ENCODING 85
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR V
+ENCODING 86
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+88
+50
+50
+50
+50
+20
+20
+ENDCHAR
+STARTCHAR W
+ENCODING 87
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+A8
+A8
+A8
+A8
+50
+50
+50
+ENDCHAR
+STARTCHAR X
+ENCODING 88
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+50
+50
+20
+50
+50
+88
+88
+ENDCHAR
+STARTCHAR Y
+ENCODING 89
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+50
+50
+20
+20
+20
+20
+20
+ENDCHAR
+STARTCHAR Z
+ENCODING 90
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+F0
+10
+20
+20
+60
+40
+40
+80
+F0
+ENDCHAR
+STARTCHAR bracketleft
+ENCODING 91
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+E0
+80
+80
+80
+80
+80
+80
+80
+E0
+ENDCHAR
+STARTCHAR backslash
+ENCODING 92
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+80
+80
+80
+40
+40
+40
+20
+20
+20
+ENDCHAR
+STARTCHAR bracketright
+ENCODING 93
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+E0
+20
+20
+20
+20
+20
+20
+20
+E0
+ENDCHAR
+STARTCHAR asciicircum
+ENCODING 94
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 2 0 7
+BITMAP
+40
+A0
+ENDCHAR
+STARTCHAR underscore
+ENCODING 95
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 1 0 0
+BITMAP
+F8
+ENDCHAR
+STARTCHAR grave
+ENCODING 96
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 2 2 0 7
+BITMAP
+80
+40
+ENDCHAR
+STARTCHAR a
+ENCODING 97
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR b
+ENCODING 98
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+80
+80
+80
+F0
+88
+88
+88
+88
+F0
+ENDCHAR
+STARTCHAR c
+ENCODING 99
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+78
+80
+80
+80
+80
+78
+ENDCHAR
+STARTCHAR d
+ENCODING 100
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+08
+08
+08
+78
+88
+88
+88
+88
+78
+ENDCHAR
+STARTCHAR e
+ENCODING 101
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+70
+88
+F8
+80
+80
+78
+ENDCHAR
+STARTCHAR f
+ENCODING 102
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+30
+40
+40
+F0
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR g
+ENCODING 103
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 7 0 -1
+BITMAP
+78
+88
+88
+88
+78
+08
+F0
+ENDCHAR
+STARTCHAR h
+ENCODING 104
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+80
+80
+80
+F0
+88
+88
+88
+88
+88
+ENDCHAR
+STARTCHAR i
+ENCODING 105
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 8 0 0
+BITMAP
+80
+00
+80
+80
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR j
+ENCODING 106
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 -1
+BITMAP
+20
+00
+20
+20
+20
+20
+20
+20
+C0
+ENDCHAR
+STARTCHAR k
+ENCODING 107
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+80
+80
+80
+90
+A0
+C0
+A0
+90
+90
+ENDCHAR
+STARTCHAR l
+ENCODING 108
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 2 9 0 0
+BITMAP
+80
+80
+80
+80
+80
+80
+80
+80
+40
+ENDCHAR
+STARTCHAR m
+ENCODING 109
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 6 0 0
+BITMAP
+FC
+92
+92
+92
+92
+92
+ENDCHAR
+STARTCHAR n
+ENCODING 110
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+F0
+88
+88
+88
+88
+88
+ENDCHAR
+STARTCHAR o
+ENCODING 111
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+70
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR p
+ENCODING 112
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 7 0 -1
+BITMAP
+F0
+88
+88
+88
+F0
+80
+80
+ENDCHAR
+STARTCHAR q
+ENCODING 113
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 7 0 -1
+BITMAP
+78
+88
+88
+88
+78
+08
+08
+ENDCHAR
+STARTCHAR r
+ENCODING 114
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 6 0 0
+BITMAP
+B0
+C0
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR s
+ENCODING 115
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 6 0 0
+BITMAP
+70
+80
+60
+10
+10
+E0
+ENDCHAR
+STARTCHAR t
+ENCODING 116
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 8 0 0
+BITMAP
+40
+40
+F0
+40
+40
+40
+40
+30
+ENDCHAR
+STARTCHAR u
+ENCODING 117
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+88
+88
+88
+88
+88
+78
+ENDCHAR
+STARTCHAR v
+ENCODING 118
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+88
+88
+50
+50
+20
+20
+ENDCHAR
+STARTCHAR w
+ENCODING 119
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+88
+A8
+A8
+A8
+50
+50
+ENDCHAR
+STARTCHAR x
+ENCODING 120
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+88
+50
+20
+20
+50
+88
+ENDCHAR
+STARTCHAR y
+ENCODING 121
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 7 0 -1
+BITMAP
+88
+88
+50
+50
+20
+20
+C0
+ENDCHAR
+STARTCHAR z
+ENCODING 122
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 6 0 0
+BITMAP
+F8
+10
+20
+40
+80
+F8
+ENDCHAR
+STARTCHAR braceleft
+ENCODING 123
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+30
+40
+40
+40
+80
+40
+40
+40
+30
+ENDCHAR
+STARTCHAR bar
+ENCODING 124
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 1 9 1 0
+BITMAP
+80
+80
+80
+80
+80
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR braceright
+ENCODING 125
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+C0
+20
+20
+20
+10
+20
+20
+20
+C0
+ENDCHAR
+STARTCHAR asciitilde
+ENCODING 126
+SWIDTH 625 0
+DWIDTH 10 0
+BBX 9 2 0 4
+BITMAP
+7880
+8700
+ENDCHAR
+STARTCHAR exclamdown
+ENCODING 161
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 9 0 0
+BITMAP
+80
+80
+00
+80
+80
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR cent
+ENCODING 162
+SWIDTH 437 0
+DWIDTH 7 0
+BBX 6 9 0 0
+BITMAP
+10
+78
+94
+A0
+A0
+A0
+C4
+78
+40
+ENDCHAR
+STARTCHAR sterling
+ENCODING 163
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+30
+48
+40
+20
+F8
+20
+40
+80
+F8
+ENDCHAR
+STARTCHAR yen
+ENCODING 165
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+88
+88
+50
+50
+F8
+20
+F8
+20
+20
+ENDCHAR
+STARTCHAR brokenbar
+ENCODING 166
+SWIDTH 125 0
+DWIDTH 2 0
+BBX 1 9 0 0
+BITMAP
+80
+80
+80
+80
+00
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR copyright
+ENCODING 169
+SWIDTH 625 0
+DWIDTH 10 0
+BBX 9 9 0 0
+BITMAP
+3E00
+4100
+9C80
+A280
+A080
+A280
+9C80
+4100
+3E00
+ENDCHAR
+STARTCHAR registered
+ENCODING 174
+SWIDTH 625 0
+DWIDTH 10 0
+BBX 9 9 0 0
+BITMAP
+3E00
+4100
+BC80
+A280
+BC80
+A480
+A280
+4100
+3E00
+ENDCHAR
+STARTCHAR degree
+ENCODING 176
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 3 0 6
+BITMAP
+40
+A0
+40
+ENDCHAR
+STARTCHAR plusminus
+ENCODING 177
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 7 0 1
+BITMAP
+20
+20
+F8
+20
+20
+00
+F8
+ENDCHAR
+STARTCHAR acute
+ENCODING 180
+SWIDTH 187 0
+DWIDTH 3 0
+BBX 2 2 0 7
+BITMAP
+40
+80
+ENDCHAR
+STARTCHAR periodcentered
+ENCODING 183
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 2 2 1 3
+BITMAP
+C0
+C0
+ENDCHAR
+STARTCHAR questiondown
+ENCODING 191
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 9 0 0
+BITMAP
+20
+20
+00
+20
+20
+40
+80
+80
+70
+ENDCHAR
+STARTCHAR Agrave
+ENCODING 192
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+20
+10
+00
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR Aacute
+ENCODING 193
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+20
+40
+00
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR Acircumflex
+ENCODING 194
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 12 0 0
+BITMAP
+20
+50
+00
+20
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR Atilde
+ENCODING 195
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+28
+50
+00
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR Adieresis
+ENCODING 196
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+50
+00
+20
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR Aring
+ENCODING 197
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 12 0 0
+BITMAP
+20
+50
+20
+00
+20
+50
+50
+50
+F8
+88
+88
+88
+ENDCHAR
+STARTCHAR Ccedilla
+ENCODING 199
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 10 0 -1
+BITMAP
+70
+80
+80
+80
+80
+80
+80
+70
+20
+40
+ENDCHAR
+STARTCHAR Egrave
+ENCODING 200
+SWIDTH 1000 0
+DWIDTH 5 0
+BBX 4 11 0 0
+BITMAP
+40
+20
+00
+F0
+80
+80
+F0
+80
+80
+80
+F0
+ENDCHAR
+STARTCHAR Eacute
+ENCODING 201
+SWIDTH 1000 0
+DWIDTH 5 0
+BBX 4 11 0 0
+BITMAP
+20
+40
+00
+F0
+80
+80
+F0
+80
+80
+80
+F0
+ENDCHAR
+STARTCHAR Ecircumflex
+ENCODING 202
+SWIDTH 1000 0
+DWIDTH 5 0
+BBX 4 11 0 0
+BITMAP
+20
+50
+00
+F0
+80
+80
+F0
+80
+80
+80
+F0
+ENDCHAR
+STARTCHAR Edieresis
+ENCODING 203
+SWIDTH 1000 0
+DWIDTH 5 0
+BBX 4 10 0 0
+BITMAP
+50
+00
+F0
+80
+80
+F0
+80
+80
+80
+F0
+ENDCHAR
+STARTCHAR Igrave
+ENCODING 204
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 2 11 0 0
+BITMAP
+80
+40
+00
+40
+40
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR Iacute
+ENCODING 205
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 2 11 1 0
+BITMAP
+40
+80
+00
+80
+80
+80
+80
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR Icircumflex
+ENCODING 206
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 11 0 0
+BITMAP
+40
+A0
+00
+40
+40
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR Idieresis
+ENCODING 207
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 10 0 0
+BITMAP
+A0
+00
+40
+40
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR Ntilde
+ENCODING 209
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+28
+50
+00
+88
+C8
+C8
+A8
+A8
+98
+98
+88
+ENDCHAR
+STARTCHAR Ograve
+ENCODING 210
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+40
+20
+00
+70
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Oacute
+ENCODING 211
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+10
+20
+00
+70
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Ocircumflex
+ENCODING 212
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+20
+50
+00
+70
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Otilde
+ENCODING 213
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+28
+50
+00
+70
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Odieresis
+ENCODING 214
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+50
+00
+00
+70
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR multiply
+ENCODING 215
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 5 0 2
+BITMAP
+88
+50
+20
+50
+88
+ENDCHAR
+STARTCHAR Ugrave
+ENCODING 217
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+40
+20
+00
+88
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Uacute
+ENCODING 218
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+10
+20
+00
+88
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Ucircumflex
+ENCODING 219
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 11 0 0
+BITMAP
+20
+50
+00
+88
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Udieresis
+ENCODING 220
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 10 0 0
+BITMAP
+50
+00
+88
+88
+88
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR Thorn
+ENCODING 222
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+80
+80
+F0
+88
+88
+88
+F0
+80
+80
+ENDCHAR
+STARTCHAR germandbls
+ENCODING 223
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+70
+88
+88
+B0
+88
+88
+88
+B0
+80
+ENDCHAR
+STARTCHAR agrave
+ENCODING 224
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+10
+00
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR aacute
+ENCODING 225
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+10
+20
+00
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR acircumflex
+ENCODING 226
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+50
+00
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR atilde
+ENCODING 227
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+28
+50
+00
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR adieresis
+ENCODING 228
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 8 0 0
+BITMAP
+50
+00
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR aring
+ENCODING 229
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 10 0 0
+BITMAP
+20
+50
+20
+00
+F0
+08
+78
+88
+88
+78
+ENDCHAR
+STARTCHAR ccedilla
+ENCODING 231
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 7 0 -1
+BITMAP
+70
+80
+80
+80
+70
+20
+40
+ENDCHAR
+STARTCHAR egrave
+ENCODING 232
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+40
+20
+00
+70
+88
+F8
+80
+80
+78
+ENDCHAR
+STARTCHAR eacute
+ENCODING 233
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+10
+20
+00
+70
+88
+F8
+80
+80
+78
+ENDCHAR
+STARTCHAR ecircumflex
+ENCODING 234
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+50
+00
+70
+88
+F8
+80
+80
+78
+ENDCHAR
+STARTCHAR edieresis
+ENCODING 235
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 8 0 0
+BITMAP
+50
+00
+70
+88
+F8
+80
+80
+78
+ENDCHAR
+STARTCHAR igrave
+ENCODING 236
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 2 9 0 0
+BITMAP
+80
+40
+00
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR iacute
+ENCODING 237
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 2 9 1 0
+BITMAP
+40
+80
+00
+80
+80
+80
+80
+80
+80
+ENDCHAR
+STARTCHAR icircumflex
+ENCODING 238
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 9 0 0
+BITMAP
+40
+A0
+00
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR idieresis
+ENCODING 239
+SWIDTH 250 0
+DWIDTH 4 0
+BBX 3 8 0 0
+BITMAP
+A0
+00
+40
+40
+40
+40
+40
+40
+ENDCHAR
+STARTCHAR ntilde
+ENCODING 241
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+28
+50
+00
+F0
+88
+88
+88
+88
+88
+ENDCHAR
+STARTCHAR ograve
+ENCODING 242
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+40
+20
+00
+70
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR oacute
+ENCODING 243
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+10
+20
+00
+70
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR ocircumflex
+ENCODING 244
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+50
+00
+70
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR otilde
+ENCODING 245
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+28
+50
+00
+70
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR odieresis
+ENCODING 246
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 8 0 0
+BITMAP
+50
+00
+70
+88
+88
+88
+88
+70
+ENDCHAR
+STARTCHAR divide
+ENCODING 247
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 5 0 2
+BITMAP
+20
+00
+F8
+00
+20
+ENDCHAR
+STARTCHAR ugrave
+ENCODING 249
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 8 0 0
+BITMAP
+40
+20
+88
+88
+88
+88
+88
+78
+ENDCHAR
+STARTCHAR uacute
+ENCODING 250
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 8 0 0
+BITMAP
+10
+20
+88
+88
+88
+88
+88
+78
+ENDCHAR
+STARTCHAR ucircumflex
+ENCODING 251
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+50
+00
+88
+88
+88
+88
+88
+78
+ENDCHAR
+STARTCHAR udieresis
+ENCODING 252
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 8 0 0
+BITMAP
+50
+00
+88
+88
+88
+88
+88
+78
+ENDCHAR
+STARTCHAR yacute
+ENCODING 253
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 10 0 -1
+BITMAP
+10
+20
+00
+88
+88
+50
+50
+20
+20
+C0
+ENDCHAR
+STARTCHAR thorn
+ENCODING 254
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 -1
+BITMAP
+80
+80
+F0
+88
+88
+88
+F0
+80
+80
+ENDCHAR
+STARTCHAR ydieresis
+ENCODING 255
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 -1
+BITMAP
+50
+00
+88
+88
+50
+50
+20
+20
+C0
+ENDCHAR
+STARTCHAR OE
+ENCODING 338
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 9 0 0
+BITMAP
+6E
+90
+90
+90
+9E
+90
+90
+90
+6E
+ENDCHAR
+STARTCHAR oe
+ENCODING 339
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 7 6 0 0
+BITMAP
+6C
+92
+9E
+90
+90
+6E
+ENDCHAR
+STARTCHAR quotedblleft
+ENCODING 8220
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 2 0 7
+BITMAP
+50
+A0
+ENDCHAR
+STARTCHAR quotedblright
+ENCODING 8221
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 2 0 7
+BITMAP
+50
+A0
+ENDCHAR
+STARTCHAR bullet
+ENCODING 8226
+SWIDTH 312 0
+DWIDTH 5 0
+BBX 4 4 0 2
+BITMAP
+60
+F0
+F0
+60
+ENDCHAR
+STARTCHAR ellipsis
+ENCODING 8230
+SWIDTH 500 0
+DWIDTH 8 0
+BBX 5 1 0 0
+BITMAP
+A8
+ENDCHAR
+STARTCHAR Euro
+ENCODING 8364
+SWIDTH 437 0
+DWIDTH 7 0
+BBX 6 9 0 0
+BITMAP
+18
+24
+40
+F0
+40
+F0
+40
+24
+18
+ENDCHAR
+STARTCHAR trademark
+ENCODING 8482
+SWIDTH 625 0
+DWIDTH 10 0
+BBX 9 4 0 5
+BITMAP
+E880
+4D80
+4A80
+4880
+ENDCHAR
+STARTCHAR arrowleft
+ENCODING 8592
+SWIDTH 625 0
+DWIDTH 10 0
+BBX 9 5 0 2
+BITMAP
+2000
+4000
+FF80
+4000
+2000
+ENDCHAR
+STARTCHAR arrowup
+ENCODING 8593
+SWIDTH 375 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+70
+A8
+20
+20
+20
+20
+20
+20
+ENDCHAR
+STARTCHAR arrowright
+ENCODING 8594
+SWIDTH 1000 0
+DWIDTH 10 0
+BBX 9 5 0 2
+BITMAP
+0200
+0100
+FF80
+0100
+0200
+ENDCHAR
+STARTCHAR arrowdown
+ENCODING 8595
+SWIDTH 1000 0
+DWIDTH 6 0
+BBX 5 9 0 0
+BITMAP
+20
+20
+20
+20
+20
+20
+A8
+70
+20
+ENDCHAR
+ENDFONT
diff --git a/source/font/README.txt b/source/font/README.txt
new file mode 100644
index 0000000..c417cb8
--- /dev/null
+++ b/source/font/README.txt
@@ -0,0 +1,40 @@
+In this directory, you will find the source file for the main font used by
+CATSFC. It's an Adobe BDF file, which is fed into the emulator when running
+in "font dump" mode to produce a more efficient representation in an "ODF"
+format. The font is based on the one used by Pictochat, with a few more
+characters that Pictochat does not have (but no Japanese characters).
+
+You can edit the font in an application that reads BDF bitmap fonts, such as
+FontForge. Open the font in the application then export it again as BDF.
+One case where you would want to do this is to add new glyphs to support a
+new language.
+
+To include the more efficient representation (ODF) in CATSFC/system after
+editing the BDF file:
+
+ 1. If your font added characters beyond U+2193 DOWNWARDS ARROW, adjust the
+ maximum codepoint in source/nds/bdf_font.c, after the first instance of
+ > #ifndef HAVE_ODF
+ 2. In source/nds/bdf_font.c,
+ > #define DUMP_ODF
+ and
+ > // #define HAVE_ODF
+ This will make the plugin read the BDF source and write an ODF file.
+ 3. make
+ 4. Copy the new plugin to your card, under /_dstwoplug.
+ 5. Copy the .bdf file to your card, under /CATSFC/system, as Pictochat-16.bdf.
+ 6. Run the plugin on the Supercard DSTWO. It will briefly load, then display
+ "Font library initialisation error -1, press any key to exit". This is
+ because it tries to load the Chinese font's source, Song.bdf, which you
+ don't have. Regardless, it does dump an ODF file for Pictochat-16.bdf.
+ 7. Copy the .odf font somewhere on your hard drive if you want to keep a copy
+ of it. Delete the .bdf file from your card.
+ 8. Reverse the changes made in step 2.
+ 9. make
+10. Copy the new plugin to your card, under /_dstwoplug.
+
+And you can use your new font!
+
+Finally, you may want to send your .bdf source file to a CATSFC developer
+or commit it to a fork on Github, for inclusion in the plugin. You may also
+want to send your changes to CATSFC/system/language.msg for the same reason. \ No newline at end of file