Commit 6eaa3452 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

fonts: Add Fixedsys font.

parent b73323d4
......@@ -37,6 +37,7 @@
/sseriffr.fon
/sserifft.fon
/svgasys.fon
/vgafix.fon
/vgas1255.fon
/vgas1256.fon
/vgas1257.fon
......
......@@ -40,6 +40,7 @@ BITMAP_FONTS = \
ssef1257.fon \
ssef874.fon \
svgasys.fon \
vgafix.fon \
vgasys.fon \
vgasyse.fon \
vgasysg.fon \
......@@ -87,6 +88,9 @@ coue1256.fon: courier.ttf
coue1257.fon: courier.ttf
$(LDPATH) $(SFNT2FNT) -o $@ -d 128 $(srcdir)/courier.ttf 13,1257,8
vgafix.fon: fixedsys.ttf
$(LDPATH) $(SFNT2FNT) -o $@ -d 128 $(srcdir)/fixedsys.ttf 15,1252,8
sserife.fon: ms_sans_serif.ttf
$(LDPATH) $(SFNT2FNT) -o $@ -d 129 $(srcdir)/ms_sans_serif.ttf 13,1252,5 16,1252,7 20,1252,8
......
......@@ -429,6 +429,9 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
/* 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;
else if (!strcmp(face->family_name, "Fixedsys"))
il = 3;
/* Japanese system fonts have an external leading (not small font) */
if (enc == 932 && ppem > 11)
el = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment