mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
Build a fake Malgun Gothic font.
This commit is contained in:
parent
f9f0fc3931
commit
0683ff8926
@ -345,6 +345,7 @@ $(DIST_FONTS): fonts
|
|||||||
cp $(FONTS_OBJ)/source-han/msyh.ttf "$@"
|
cp $(FONTS_OBJ)/source-han/msyh.ttf "$@"
|
||||||
cp $(FONTS_OBJ)/source-han/simsun.ttc "$@"
|
cp $(FONTS_OBJ)/source-han/simsun.ttc "$@"
|
||||||
cp $(FONTS_OBJ)/source-han/msgothic.ttc "$@"
|
cp $(FONTS_OBJ)/source-han/msgothic.ttc "$@"
|
||||||
|
cp $(FONTS_OBJ)/source-han/malgun.ttf "$@"
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
|
|
||||||
@ -865,6 +866,14 @@ msuigothic.ttf_UNISOURCE = $(SOURCE_HAN_SANS_SRCDIR)/UniSourceHanSansJP-UTF32-H
|
|||||||
msuigothic.ttf_MENUNAMEDB = $(FONTS)/patches/MSUIGothic-FontMenuNameDB
|
msuigothic.ttf_MENUNAMEDB = $(FONTS)/patches/MSUIGothic-FontMenuNameDB
|
||||||
msuigothic.ttf = $(FONTS_OBJ)/source-han/msuigothic.ttf
|
msuigothic.ttf = $(FONTS_OBJ)/source-han/msuigothic.ttf
|
||||||
|
|
||||||
|
malgun.ttf_CIDFONTINFO = $(SOURCE_HAN_SANS_SRCDIR)/cidfontinfo.OTC.K
|
||||||
|
malgun.ttf_CIDFONT = $(SOURCE_HAN_SANS_SRCDIR)/cidfont.ps.OTC.K
|
||||||
|
malgun.ttf_FEATURES = $(SOURCE_HAN_SANS_SRCDIR)/features.OTC.K
|
||||||
|
malgun.ttf_SEQUENCES = $(SOURCE_HAN_SANS_SRCDIR)/SourceHanSans_KR_sequences.txt
|
||||||
|
malgun.ttf_UNISOURCE = $(SOURCE_HAN_SANS_SRCDIR)/UniSourceHanSansKR-UTF32-H
|
||||||
|
malgun.ttf_MENUNAMEDB = $(FONTS)/patches/Malgun-FontMenuNameDB
|
||||||
|
malgun.ttf = $(FONTS_OBJ)/source-han/malgun.ttf
|
||||||
|
|
||||||
simsun.ttc = $(FONTS_OBJ)/source-han/simsun.ttc
|
simsun.ttc = $(FONTS_OBJ)/source-han/simsun.ttc
|
||||||
msgothic.ttc = $(FONTS_OBJ)/source-han/msgothic.ttc
|
msgothic.ttc = $(FONTS_OBJ)/source-han/msgothic.ttc
|
||||||
|
|
||||||
@ -919,6 +928,7 @@ fonts: $(FONTS_OBJ)/LiberationMono-Bold.ttf
|
|||||||
fonts: $(msyh.ttf)
|
fonts: $(msyh.ttf)
|
||||||
fonts: $(simsun.ttc)
|
fonts: $(simsun.ttc)
|
||||||
fonts: $(msgothic.ttc)
|
fonts: $(msgothic.ttc)
|
||||||
|
fonts: $(malgun.ttf)
|
||||||
|
|
||||||
##
|
##
|
||||||
## Targets
|
## Targets
|
||||||
|
5
fonts/patches/Malgun-FontMenuNameDB
Normal file
5
fonts/patches/Malgun-FontMenuNameDB
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[SourceHanSansK-Regular]
|
||||||
|
f=3,1,0x412,\B9D1\C740 \ACE0\B515
|
||||||
|
s=3,1,0x412,Regular
|
||||||
|
f=Malgun Gothic
|
||||||
|
s=Regular
|
1
proton
1
proton
@ -448,6 +448,7 @@ class CompatData:
|
|||||||
( g_proton.fonts_dir, "msyh.ttf", "msyh.ttf" ),
|
( g_proton.fonts_dir, "msyh.ttf", "msyh.ttf" ),
|
||||||
( g_proton.fonts_dir, "simsun.ttc", "simsun.ttc" ),
|
( g_proton.fonts_dir, "simsun.ttc", "simsun.ttc" ),
|
||||||
( g_proton.fonts_dir, "msgothic.ttc", "msgothic.ttc" ),
|
( g_proton.fonts_dir, "msgothic.ttc", "msgothic.ttc" ),
|
||||||
|
( g_proton.fonts_dir, "malgun.ttf", "malgun.ttf" ),
|
||||||
|
|
||||||
( g_proton.wine_fonts_dir, "tahoma.ttf", "tahoma.ttf" ),
|
( g_proton.wine_fonts_dir, "tahoma.ttf", "tahoma.ttf" ),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user