fonts: Correct External leading for japanese small font and enable fontmetric test for the font.
diff --git a/tools/sfnt2fnt.c b/tools/sfnt2fnt.c
index 8868c66..0a32598 100644
--- a/tools/sfnt2fnt.c
+++ b/tools/sfnt2fnt.c
@@ -312,8 +312,8 @@
/* 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;