fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType.

CW-Bug-Id: #21346
This commit is contained in:
Rémi Bernon 2023-02-09 22:19:47 +01:00 committed by Arkadiusz Hiler
parent b59a3040d9
commit 303299793f

View file

@ -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 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)
mv $@.tmp $@
afdko otf2ttf -o $@ $@.tmp
rm $@.tmp
$(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH)
mkdir -p $(FONTS_OBJ)/ume-gothic