From 7325d39bbb8c5144e84831a68b680bc8aff25d46 Mon Sep 17 00:00:00 2001 From: fallenworld Date: Wed, 25 Jun 2025 22:25:13 +0800 Subject: [PATCH] fonts: Convert msyh.ttf to TrueType. CW-Bug-Id: #23857 --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index 2d6528dd..4d1fa3be 100644 --- a/Makefile.in +++ b/Makefile.in @@ -963,6 +963,7 @@ $(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) + if [ "$(notdir $@)" = "msyh.ttf" ]; then afdko otf2ttf -o $@.tmp.ttf $@.tmp; mv -f $@.tmp.ttf $@.tmp; fi mv $@.tmp $@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH)