mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-28 06:28:20 +03:00
fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType.
CW-Bug-Id: #21346
This commit is contained in:
parent
b59a3040d9
commit
303299793f
@ -821,7 +821,8 @@ $(FONTS_OBJ)/source-han/%.ttf: $$(%.ttf_CIDFONT) $$(%.ttf_FEATURES) $$(%.ttf_SEQ
|
|||||||
# to run it in a dedicated temporary directory to prevent concurrent instances
|
# to run it in a dedicated temporary directory to prevent concurrent instances
|
||||||
# to step onto each other's feet
|
# to step onto each other's feet
|
||||||
(TEMP_DIR=`mktemp -d` && cd $$TEMP_DIR && afdko sfntedit -a CFF=$(abspath $($(notdir $@)).cff) $(abspath $@.tmp) && rm -fr $$TEMP_DIR)
|
(TEMP_DIR=`mktemp -d` && cd $$TEMP_DIR && afdko sfntedit -a CFF=$(abspath $($(notdir $@)).cff) $(abspath $@.tmp) && rm -fr $$TEMP_DIR)
|
||||||
mv $@.tmp $@
|
afdko otf2ttf -o $@ $@.tmp
|
||||||
|
rm $@.tmp
|
||||||
|
|
||||||
$(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH)
|
$(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH)
|
||||||
mkdir -p $(FONTS_OBJ)/ume-gothic
|
mkdir -p $(FONTS_OBJ)/ume-gothic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user