summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xits/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xits/Makefile')
-rw-r--r--Master/texmf-dist/doc/fonts/xits/Makefile25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/fonts/xits/Makefile b/Master/texmf-dist/doc/fonts/xits/Makefile
index 520900f6ef5..48da2c6fac5 100644
--- a/Master/texmf-dist/doc/fonts/xits/Makefile
+++ b/Master/texmf-dist/doc/fonts/xits/Makefile
@@ -1,5 +1,5 @@
NAME=xits
-VERSION=1.104
+VERSION=1.105
SRC=sources
DOC=documentation
@@ -9,11 +9,14 @@ DIST=$(NAME)-$(VERSION)
FF=fontforge -lang=ff
POSTPROCESS=./postprocess.py
FFLAGES=0x200000
-SCRIPT='Open($$1); MergeFeature("$(SRC)/$(FEA)");\
+SCRIPT='Open($$1);\
+ if ($$argc>3)\
+ MergeFeature($$2);\
+ endif;\
SetFontNames("","","","","","$(VERSION)");\
- Generate($$2, "", $(FFLAGES))'
+ Generate($$argv[$$argc-1], "", $(FFLAGES))'
-FONTS=math regular bold italic bolditalic
+FONTS=math mathbold regular bold italic bolditalic
DOCS=user-guide xits-specimen
FEA=xits.fea
@@ -26,12 +29,24 @@ all: otf
otf: $(OTF)
-%.otf: $(SRC)/%.sfd Makefile $(POSTPROCESS)
+xits-math.otf: $(SRC)/xits-math.sfd Makefile $(POSTPROCESS)
+ @echo "Building $@"
+ @$(FF) -c $(SCRIPT) $< $@ 2>/dev/stdout 1>/dev/stderr | tail -n +4
+ @$(POSTPROCESS) $@
+ @mv $@.post $@
+
+xits-mathbold.otf: $(SRC)/xits-mathbold.sfd Makefile $(POSTPROCESS)
@echo "Building $@"
@$(FF) -c $(SCRIPT) $< $@ 2>/dev/stdout 1>/dev/stderr | tail -n +4
@$(POSTPROCESS) $@
@mv $@.post $@
+%.otf: $(SRC)/%.sfd Makefile $(POSTPROCESS)
+ @echo "Building $@"
+ @$(FF) -c $(SCRIPT) $< $(SRC)/$(FEA) $@ 2>/dev/stdout 1>/dev/stderr | tail -n +4
+ @$(POSTPROCESS) $@
+ @mv $@.post $@
+
doc: $(PDF)
$(DOC)/%.pdf: $(DOCSRC)/%.tex