summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-06-17 17:38:55 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-06-22 13:42:11 +0200
commit398b9126136fae6ffa78fb40bc768f2ebfdc4fa4 (patch)
tree82680dee2c62ed222dab5b5f3b4add737df8ec02 /Makefile
parent937d5f23088d4dba475e24e3df4dcd719f7ad29a (diff)
downloadmupdf-398b9126136fae6ffa78fb40bc768f2ebfdc4fa4.tar.xz
Use vertical presentation forms.
Remap glyphs using presentation form code points rather than having a separate vertical variant of the CJK font using truetype collections. Recreate DroidSansFallback fonts from original source, extend the glyph coverage from DroidSans, subset the glyphs to match CJK CID collections, and optimize the outlines using fontcrunch.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5ba326a8..cb055d26 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ $(GPRF_OBJ) : $(FITZ_HDR) $(GPRF_HDR) $(GPRF_SRC_HDR)
# --- Generated embedded font files ---
-FONT_BIN_DROID := $(wildcard resources/fonts/droid/*.ttc)
+FONT_BIN_DROID := $(wildcard resources/fonts/droid/*.ttf)
FONT_BIN_NOTO := $(wildcard resources/fonts/noto/*.ttf)
FONT_BIN_URW := $(wildcard resources/fonts/urw/*.cff)
FONT_BIN_SIL := $(wildcard resources/fonts/sil/*.cff)
@@ -127,7 +127,7 @@ FONT_BIN := $(FONT_BIN_DROID) $(FONT_BIN_NOTO) $(FONT_BIN_URW) $(FONT_BIN_SIL)
FONT_GEN := $(FONT_GEN_DROID) $(FONT_GEN_NOTO) $(FONT_GEN_URW) $(FONT_GEN_SIL)
FONT_OBJ := $(subst $(GEN)/, $(OUT)/fonts/, $(addsuffix .o, $(basename $(FONT_GEN))))
-$(GEN)/%.c : resources/fonts/droid/%.ttc $(FONTDUMP)
+$(GEN)/%.c : resources/fonts/droid/%.ttf $(FONTDUMP)
$(QUIET_GEN) $(FONTDUMP) $@ $<
$(GEN)/%.c : resources/fonts/noto/%.ttf $(FONTDUMP)
$(QUIET_GEN) $(FONTDUMP) $@ $<