fonts: Add Fixedsys font.
This commit is contained in:
parent
b73323d4e2
commit
6eaa345261
|
@ -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
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue