diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 0893b87dfa2..d38ec8da2d7 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -347,8 +347,7 @@ static void test_bitmap_font_metrics(void) { "Small Fonts", FW_NORMAL, 10, 8, 2, 2, 0, 5, 8, CP1251_BIT }, { "Small Fonts", FW_NORMAL, 10, 8, 2, 0, 0, 6, 12, CP932_BIT }, { "Small Fonts", FW_NORMAL, 11, 9, 2, 2, 0, 5, 9, CP1252_BIT | CP1250_BIT | CP1251_BIT }, -/* No proper small font for Japanese yet */ -/* { "Small Fonts", FW_NORMAL, 11, 9, 2, 0, 0, 7, 14, CP932_BIT }, */ + { "Small Fonts", FW_NORMAL, 11, 9, 2, 0, 0, 7, 14, CP932_BIT }, { "Fixedsys", FW_NORMAL, 15, 12, 3, 3, 0, 8, 8, CP1252_BIT | CP1250_BIT }, { "Fixedsys", FW_NORMAL, 16, 12, 4, 3, 0, 8, 8, CP1251_BIT }, { "FixedSys", FW_NORMAL, 18, 16, 2, 0, 0, 8, 16, CP932_BIT } diff --git a/tools/sfnt2fnt.c b/tools/sfnt2fnt.c index 8868c660089..0a32598ab01 100644 --- a/tools/sfnt2fnt.c +++ b/tools/sfnt2fnt.c @@ -312,8 +312,8 @@ static void fill_fontinfo(FT_Face face, int enc, FILE *fp, int dpi, unsigned cha /* Hack: Courier has no internal leading, nor do any Chinese or Japanese fonts */ if(!strcmp(face->family_name, "Courier") || enc == 936 || enc == 950 || enc == 932) il = 0; - /* Japanese fonts have an external leading */ - if(enc == 932) + /* Japanese system fonts have an external leading (not small font) */ + if (enc == 932 && ppem > 11) el = 2; else el = 0;