Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/aa_fonts.asm @ 446:92304826000d
localisation part2 from Sergei
author | heinrichsweikamp |
---|---|
date | Sat, 13 Aug 2011 09:45:53 +0200 |
parents | 6e57b5bb98ce |
children | f32b9ad6244c |
comparison
equal
deleted
inserted
replaced
445:6e57b5bb98ce | 446:92304826000d |
---|---|
143 if aa_font28_nbbits != 3 | 143 if aa_font28_nbbits != 3 |
144 error SMALL fount should be encoded with anti-aliasing... | 144 error SMALL fount should be encoded with anti-aliasing... |
145 endif | 145 endif |
146 | 146 |
147 ;---- MEDIUM font description and data --------------------------------------- | 147 ;---- MEDIUM font description and data --------------------------------------- |
148 #ifndef RUSSIAN | |
148 aa_font48_block: | 149 aa_font48_block: |
149 DB 0x27, 0x3B ; ' char | 150 DB 0x27, 0x3B ; ' char |
150 DB '"', 0x3C | 151 DB '"', 0x3C |
151 DB 'm', 0x3D | 152 DB 'm', 0x3D |
152 DB ' ', 0x3E | 153 DB ' ', 0x3E |
157 DB aa_font48_height + 0x80 ; AA flag. | 158 DB aa_font48_height + 0x80 ; AA flag. |
158 ; | 159 ; |
159 #include "aa_font48_idx.inc" | 160 #include "aa_font48_idx.inc" |
160 #include "aa_font48.inc" | 161 #include "aa_font48.inc" |
161 aa_font48_end: | 162 aa_font48_end: |
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 | |
162 ; Make sure this is coherent... | 179 ; Make sure this is coherent... |
163 if aa_font48_nbbits != 3 | 180 if aa_font48_nbbits != 3 |
164 error MEDIUM fount should be encoded with 3bits anti-aliasing... | 181 error MEDIUM fount should be encoded with 3bits anti-aliasing... |
165 endif | 182 endif |
166 | 183 |