equal
deleted
inserted
replaced
313 case FS_LARGE: return _face_large; |
313 case FS_LARGE: return _face_large; |
314 } |
314 } |
315 } |
315 } |
316 |
316 |
317 |
317 |
318 typedef struct GlyphEntry { |
318 struct GlyphEntry { |
319 Sprite *sprite; |
319 Sprite *sprite; |
320 byte width; |
320 byte width; |
321 } GlyphEntry; |
321 }; |
322 |
322 |
323 |
323 |
324 /* The glyph cache. This is structured to reduce memory consumption. |
324 /* The glyph cache. This is structured to reduce memory consumption. |
325 * 1) There is a 'segment' table for each font size. |
325 * 1) There is a 'segment' table for each font size. |
326 * 2) Each segment table is a discrete block of characters. |
326 * 2) Each segment table is a discrete block of characters. |