commit
4c768d3c4b
@ -54,13 +54,9 @@ u8 GetChineseFontWidthFunc(u8 fontId)
|
||||
{
|
||||
case FONT_SMALL:
|
||||
case FONT_SMALL_NARROW:
|
||||
case FONT_SMALL_NARROWER:
|
||||
return 10;
|
||||
case FONT_NORMAL:
|
||||
case FONT_SHORT:
|
||||
case FONT_SHORT_COPY_1:
|
||||
case FONT_SHORT_COPY_2:
|
||||
case FONT_SHORT_COPY_3:
|
||||
case FONT_NARROW:
|
||||
default:
|
||||
return 12;
|
||||
}
|
||||
return 0;
|
||||
|
||||
12
src/text.c
12
src/text.c
@ -1266,6 +1266,18 @@ static u16 RenderText(struct TextPrinter *textPrinter)
|
||||
case FONT_SMALL_NARROW:
|
||||
DecompressGlyph_SmallNarrow(currChar, textPrinter->japanese);
|
||||
break;
|
||||
case FONT_NARROWER:
|
||||
DecompressGlyph_Narrower(currChar, textPrinter->japanese);
|
||||
break;
|
||||
case FONT_SMALL_NARROWER:
|
||||
DecompressGlyph_SmallNarrower(currChar, textPrinter->japanese);
|
||||
break;
|
||||
case FONT_SHORT_NARROW:
|
||||
DecompressGlyph_ShortNarrow(currChar, textPrinter->japanese);
|
||||
break;
|
||||
case FONT_SHORT_NARROWER:
|
||||
DecompressGlyph_ShortNarrower(currChar, textPrinter->japanese);
|
||||
break;
|
||||
case FONT_BRAILLE:
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user