Build a fake MS Gothic font.
This commit is contained in:
parent
8ad18f38d5
commit
cf9d10ef68
5 changed files with 46 additions and 0 deletions
|
@ -344,6 +344,7 @@ $(DIST_FONTS): fonts
|
|||
cp $(FONTS_OBJ)/*.ttf "$@"
|
||||
cp $(FONTS_OBJ)/source-han/msyh.ttf "$@"
|
||||
cp $(FONTS_OBJ)/source-han/simsun.ttc "$@"
|
||||
cp $(FONTS_OBJ)/source-han/msgothic.ttc "$@"
|
||||
|
||||
.PHONY: dist
|
||||
|
||||
|
@ -840,7 +841,32 @@ nsimsun.ttf_UNISOURCE = $(SOURCE_HAN_SANS_SRCDIR)/UniSourceHanSansCN-UTF32-H
|
|||
nsimsun.ttf_MENUNAMEDB = $(FONTS)/patches/NSimSun-FontMenuNameDB
|
||||
nsimsun.ttf = $(FONTS_OBJ)/source-han/nsimsun.ttf
|
||||
|
||||
msgothic.ttf_CIDFONTINFO = $(SOURCE_HAN_SANS_SRCDIR)/cidfontinfo.OTC.J
|
||||
msgothic.ttf_CIDFONT = $(SOURCE_HAN_SANS_SRCDIR)/cidfont.ps.OTC.J
|
||||
msgothic.ttf_FEATURES = $(SOURCE_HAN_SANS_SRCDIR)/features.OTC.J
|
||||
msgothic.ttf_SEQUENCES = $(SOURCE_HAN_SANS_SRCDIR)/SourceHanSans_JP_sequences.txt
|
||||
msgothic.ttf_UNISOURCE = $(SOURCE_HAN_SANS_SRCDIR)/UniSourceHanSansJP-UTF32-H
|
||||
msgothic.ttf_MENUNAMEDB = $(FONTS)/patches/MSGothic-FontMenuNameDB
|
||||
msgothic.ttf = $(FONTS_OBJ)/source-han/msgothic.ttf
|
||||
|
||||
mspgothic.ttf_CIDFONTINFO = $(SOURCE_HAN_SANS_SRCDIR)/cidfontinfo.OTC.J
|
||||
mspgothic.ttf_CIDFONT = $(SOURCE_HAN_SANS_SRCDIR)/cidfont.ps.OTC.J
|
||||
mspgothic.ttf_FEATURES = $(SOURCE_HAN_SANS_SRCDIR)/features.OTC.J
|
||||
mspgothic.ttf_SEQUENCES = $(SOURCE_HAN_SANS_SRCDIR)/SourceHanSans_JP_sequences.txt
|
||||
mspgothic.ttf_UNISOURCE = $(SOURCE_HAN_SANS_SRCDIR)/UniSourceHanSansJP-UTF32-H
|
||||
mspgothic.ttf_MENUNAMEDB = $(FONTS)/patches/MSPGothic-FontMenuNameDB
|
||||
mspgothic.ttf = $(FONTS_OBJ)/source-han/mspgothic.ttf
|
||||
|
||||
msuigothic.ttf_CIDFONTINFO = $(SOURCE_HAN_SANS_SRCDIR)/cidfontinfo.OTC.J
|
||||
msuigothic.ttf_CIDFONT = $(SOURCE_HAN_SANS_SRCDIR)/cidfont.ps.OTC.J
|
||||
msuigothic.ttf_FEATURES = $(SOURCE_HAN_SANS_SRCDIR)/features.OTC.J
|
||||
msuigothic.ttf_SEQUENCES = $(SOURCE_HAN_SANS_SRCDIR)/SourceHanSans_JP_sequences.txt
|
||||
msuigothic.ttf_UNISOURCE = $(SOURCE_HAN_SANS_SRCDIR)/UniSourceHanSansJP-UTF32-H
|
||||
msuigothic.ttf_MENUNAMEDB = $(FONTS)/patches/MSUIGothic-FontMenuNameDB
|
||||
msuigothic.ttf = $(FONTS_OBJ)/source-han/msuigothic.ttf
|
||||
|
||||
simsun.ttc = $(FONTS_OBJ)/source-han/simsun.ttc
|
||||
msgothic.ttc = $(FONTS_OBJ)/source-han/msgothic.ttc
|
||||
|
||||
#The use of "Arial" here is for compatibility with programs that require that exact string. This font is not Arial.
|
||||
LiberationSans-Regular_NAMES := "Arial" "Arial" "Arial"
|
||||
|
@ -882,6 +908,9 @@ $(FONTS_OBJ)/source-han/%.ttf: $$(%.ttf_CIDFONTINFO) $$(%.ttf_CIDFONTINFO) $$(%.
|
|||
$(simsun.ttc): $(simsun.ttf) $(nsimsun.ttf)
|
||||
$(AFDKO_VERB) otf2otc -o $@ $^
|
||||
|
||||
$(msgothic.ttc): $(msgothic.ttf) $(mspgothic.ttf) $(msuigothic.ttf)
|
||||
$(AFDKO_VERB) otf2otc -o $@ $^
|
||||
|
||||
fonts: $(FONTS_OBJ)/LiberationSans-Regular.ttf
|
||||
fonts: $(FONTS_OBJ)/LiberationSans-Bold.ttf
|
||||
fonts: $(FONTS_OBJ)/LiberationSerif-Regular.ttf
|
||||
|
@ -889,6 +918,7 @@ fonts: $(FONTS_OBJ)/LiberationMono-Regular.ttf
|
|||
fonts: $(FONTS_OBJ)/LiberationMono-Bold.ttf
|
||||
fonts: $(msyh.ttf)
|
||||
fonts: $(simsun.ttc)
|
||||
fonts: $(msgothic.ttc)
|
||||
|
||||
##
|
||||
## Targets
|
||||
|
|
5
fonts/patches/MSGothic-FontMenuNameDB
Normal file
5
fonts/patches/MSGothic-FontMenuNameDB
Normal file
|
@ -0,0 +1,5 @@
|
|||
[SourceHanSans-Regular]
|
||||
f=3,1,0x411,\FF2D\FF33 \30B4\30B7\30C3\30AF
|
||||
s=3,1,0x411,\6A19\6E96
|
||||
f=MS Gothic
|
||||
s=Regular
|
5
fonts/patches/MSPGothic-FontMenuNameDB
Normal file
5
fonts/patches/MSPGothic-FontMenuNameDB
Normal file
|
@ -0,0 +1,5 @@
|
|||
[SourceHanSans-Regular]
|
||||
f=3,1,0x411,\FF2D\FF33 \FF30\30B4\30B7\30C3\30AF
|
||||
s=3,1,0x411,\6A19\6E96
|
||||
f=MS PGothic
|
||||
s=Regular
|
5
fonts/patches/MSUIGothic-FontMenuNameDB
Normal file
5
fonts/patches/MSUIGothic-FontMenuNameDB
Normal file
|
@ -0,0 +1,5 @@
|
|||
[SourceHanSans-Regular]
|
||||
f=3,1,0x411,MS UI Gothic
|
||||
s=3,1,0x411,\6A19\6E96
|
||||
f=MS UI Gothic
|
||||
s=Regular
|
1
proton
1
proton
|
@ -447,6 +447,7 @@ class CompatData:
|
|||
( g_proton.fonts_dir, "LiberationMono-Bold.ttf", "courbd.ttf" ),
|
||||
( g_proton.fonts_dir, "msyh.ttf", "msyh.ttf" ),
|
||||
( g_proton.fonts_dir, "simsun.ttc", "simsun.ttc" ),
|
||||
( g_proton.fonts_dir, "msgothic.ttc", "msgothic.ttc" ),
|
||||
|
||||
( g_proton.wine_fonts_dir, "tahoma.ttf", "tahoma.ttf" ),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue