fonts: Add Fixedsys font.

oldstable
Akihiro Sagawa 2013-04-08 21:55:05 +09:00 committed by Alexandre Julliard
parent b73323d4e2
commit 6eaa345261
5 changed files with 2328 additions and 0 deletions

1
fonts/.gitignore vendored
View File

@ -37,6 +37,7 @@
/sseriffr.fon
/sserifft.fon
/svgasys.fon
/vgafix.fon
/vgas1255.fon
/vgas1256.fon
/vgas1257.fon

View File

@ -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

2320
fonts/fixedsys.sfd 100644

File diff suppressed because it is too large Load Diff

BIN
fonts/fixedsys.ttf 100644

Binary file not shown.

View File

@ -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;