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
parent ca835a8456
commit 52341bbde5

View file

@ -1147,7 +1147,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