Mercurial > public > mk2
annotate code_part1/OSTC_code_asm_part1/aa_fonts.asm @ 737:6ec145626fbc
french text update
author | heinrichsweikamp |
---|---|
date | Thu, 27 Jun 2013 08:28:30 +0200 |
parents | 92304826000d |
children | f32b9ad6244c |
rev | line source |
---|---|
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
1 ;============================================================================= |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
2 ; |
95 | 3 ; File aa_fonts.asm |
4 ; | |
5 ; Font-data for the anti-aliased word processor | |
6 ; | |
7 ; This program is free software: you can redistribute it and/or modify | |
8 ; it under the terms of the GNU General Public License as published by | |
9 ; the Free Software Foundation, either version 3 of the License, or | |
10 ; (at your option) any later version. | |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
11 ; |
95 | 12 ; This program is distributed in the hope that it will be useful, |
13 ; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 ; GNU General Public License for more details. | |
16 ; | |
17 ; You should have received a copy of the GNU General Public License | |
18 ; along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 ; | |
20 ; Copyright (c) 2010, JD Gascuel. | |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
21 ;============================================================================= |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
22 ; HISTORY |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
23 ; 2010-11-23 : [jDG] Creation with the original 1.72 fonts repacked. |
95 | 24 ; 2010-12-01 : [jDG] Adding 3bits antialiased fonts. |
25 ;============================================================================= | |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
26 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
27 ; Original fonts where byte swapped in PROM memory, but the repacked don't... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
28 ; AA_BYTE_SWAP EQU 1 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
29 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
30 ;---- SMALL font description and data ---------------------------------------- |
116 | 31 aa_fonts code_pack |
424 | 32 #ifndef RUSSIAN |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
33 aa_font28_block: |
178
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
34 DB '°', 0x7F ; Remap a few ASCII chars, to avoid |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
35 DB 'ö', 0x80 ; holes in the character table... |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
36 DB 'ä', 0x81 |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
37 DB 'ü', 0x82 |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
38 DB 'ß', 0x83 |
183 | 39 DB 'é', 0x84 ; French accents |
178
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
40 DB 'è', 0x85 |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
41 DB 'ê', 0x86 |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
42 DB 'ç', 0x87 |
183 | 43 DB 'á', 0x88 ; Spanish accents |
44 DB 'í', 0x89 | |
45 DB 'ó', 0x8A | |
46 DB 'ú', 0x8B | |
47 DB 'ñ', 0x8C | |
48 DB '¡', 0x8D | |
49 DB '¿', 0x8E | |
50 DB '¤', 0x8F ; Unused | |
51 ; 90, 91 are the logo. | |
178
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
52 DB 0xB7,0x92 ; Cursor |
29ff788487fc
Added German ???? & French ???? characters in small font.
JeanDo
parents:
116
diff
changeset
|
53 DB 0xB8,0x93 ; Dimmed cursor. |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
54 DB 0 ; End of translation table |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
55 DB aa_font28_firstChar ; To be substracted |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
56 DB aa_font28_chars ; Max value |
445 | 57 DB 0x8F-aa_font28_firstChar; replace by ¤ when unknown. |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
58 DB aa_font28_height + 0x80 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
59 ; |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
60 #include "aa_font28_idx.inc" ; SHOULD FOLLOW ! |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
61 #include "aa_font28.inc" |
95 | 62 aa_font28_end: |
424 | 63 #else |
64 aa_font28_block: | |
65 DB 0xC0, 0x41 | |
66 DB 0xC2, 0x42 | |
67 DB 0xD1, 0x43 | |
68 DB 0xC5, 0x45 | |
69 DB 0xCD, 0x48 | |
70 DB 0xCA, 0x4B | |
71 DB 0xCC, 0x4D | |
72 DB 0xCE, 0x4F | |
73 DB 0xD0, 0x50 | |
74 DB 0xD2, 0x54 | |
75 DB 0xD5, 0x58 | |
76 DB 0xE0, 0x61 | |
77 DB 0xF1, 0x63 | |
78 DB 0xE5, 0x65 | |
79 DB 0xEE, 0x6F | |
80 DB 0xF0, 0x70 | |
81 DB 0xF5, 0x78 | |
82 DB 0xF3, 0x79 | |
83 DB 0xB7, 0x92 | |
84 DB 0xB8, 0x93 | |
85 DB 0xBA, 0x7F | |
86 DB 0xC1, 0x80 | |
87 DB 0xC3, 0x81 | |
88 DB 0xC4, 0x82 | |
89 DB 0xC6, 0x83 | |
90 DB 0xC7, 0x84 | |
91 DB 0xC8, 0x85 | |
92 DB 0xC9, 0x86 | |
93 DB 0xCB, 0x87 | |
94 DB 0xCF, 0x88 | |
95 DB 0xD3, 0x89 | |
96 DB 0xD4, 0x8A | |
97 DB 0xD6, 0x8B | |
98 DB 0xD7, 0x8C | |
99 DB 0xD8, 0x8D | |
100 DB 0xD9, 0x8E | |
101 DB 0xDA, 0x8F | |
445 | 102 DB 0xDB, 0x96 |
103 DB 0xDC, 0x97 | |
104 DB 0xDD, 0x98 | |
105 DB 0xDE, 0x99 | |
106 DB 0xDF, 0x9A | |
107 DB 0xE1, 0x9B | |
108 DB 0xE2, 0x9C | |
109 DB 0xE3, 0x9D | |
110 DB 0xE4, 0x9E | |
111 DB 0xE6, 0x9F | |
112 DB 0xE7, 0xA0 | |
113 DB 0xE8, 0xA1 | |
114 DB 0xE9, 0xA2 | |
115 DB 0xEA, 0xA3 | |
116 DB 0xEB, 0xA5 | |
117 DB 0xEC, 0xA6 | |
118 DB 0xED, 0xA7 | |
119 DB 0xEF, 0xA8 | |
120 DB 0xF2, 0xA9 | |
121 DB 0xF4, 0xAA | |
122 DB 0xF6, 0xAB | |
123 DB 0xF7, 0xAC | |
124 DB 0xF8, 0xAD | |
125 DB 0xF9, 0xAF | |
126 DB 0xFA, 0xB1 | |
127 DB 0xFB, 0xB2 | |
128 DB 0xFC, 0xB3 | |
129 DB 0xFD, 0xB4 | |
130 DB 0xFE, 0xB5 | |
131 DB 0xFF, 0xB6 | |
424 | 132 DB 0 ; End of translation table |
133 DB aa_font28_firstChar ; To be substracted | |
134 DB aa_font28_chars ; Max value | |
445 | 135 DB 0xA4-aa_font28_firstChar ; replace by ¤ when unknown. |
424 | 136 DB aa_font28_height + 0x80 |
137 ; | |
138 #include "aa_font28_idx_rus.inc" ; SHOULD FOLLOW ! | |
139 #include "aa_font28_rus.inc" | |
140 aa_font28_end: | |
141 #endif | |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
142 ; Make sure this is coherent... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
143 if aa_font28_nbbits != 3 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
144 error SMALL fount should be encoded with anti-aliasing... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
145 endif |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
146 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
147 ;---- MEDIUM font description and data --------------------------------------- |
446 | 148 #ifndef RUSSIAN |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
149 aa_font48_block: |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
150 DB 0x27, 0x3B ; ' char |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
151 DB '"', 0x3C |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
152 DB 'm', 0x3D |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
153 DB ' ', 0x3E |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
154 DB 0 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
155 DB aa_font48_firstChar |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
156 DB aa_font48_chars |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
157 DB 0x3E-aa_font48_firstChar |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
158 DB aa_font48_height + 0x80 ; AA flag. |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
159 ; |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
160 #include "aa_font48_idx.inc" |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
161 #include "aa_font48.inc" |
95 | 162 aa_font48_end: |
446 | 163 #else |
164 aa_font48_block: | |
165 DB 0x27, 0x3B | |
166 DB 0x22, 0x3C | |
167 DB 0xEC, 0x3D | |
168 DB 0x20, 0x3E | |
169 DB 0 ; End of translation table | |
170 DB aa_font48_firstChar ; To be substracted | |
171 DB aa_font48_chars ; Max value | |
172 DB 0x3E-aa_font48_firstChar | |
173 DB aa_font48_height + 0x80 | |
174 ; | |
175 #include "aa_font48_idx_rus.inc" ; SHOULD FOLLOW ! | |
176 #include "aa_font48_rus.inc" | |
177 aa_font48_end: | |
178 #endif | |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
179 ; Make sure this is coherent... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
180 if aa_font48_nbbits != 3 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
181 error MEDIUM fount should be encoded with 3bits anti-aliasing... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
182 endif |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
183 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
184 ;---- LARGE font description and data ---------------------------------------- |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
185 aa_font90_block: |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
186 DB ' ', 0x2F |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
187 DB 0 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
188 DB aa_font90_firstChar |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
189 DB aa_font90_chars |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
190 DB 0x2F-aa_font90_firstChar |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
191 DB aa_font90_height + 0x80 ; AA flag. |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
192 ; |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
193 #include "aa_font90_idx.inc" |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
194 #include "aa_font90.inc" |
95 | 195 aa_font90_end: |
83
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
196 ; Make sure this is coherent... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
197 if aa_font90_nbbits != 3 |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
198 error SMALL fount should be encoded with 3bits anti-aliasing... |
3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
heinrichsweikamp
parents:
diff
changeset
|
199 endif |
95 | 200 |
201 ;============================================================================= |