From add4e93b2ef3da20e9651c317928d7c9531981f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Fern=C3=A1ndez-Sanguino?= Date: Tue, 9 May 2017 17:19:53 +0000 Subject: [PATCH] Document why you would use a different location for font files git-svn-id: https://projectaon.org/data/trunk@2590 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- common/epub/Makefile.common | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/epub/Makefile.common b/common/epub/Makefile.common index eda9023..e998a28 100644 --- a/common/epub/Makefile.common +++ b/common/epub/Makefile.common @@ -40,6 +40,11 @@ XSLFILES=$(RELXSLDIR)/epub-opf-metadata.xsl $(RELXSLDIR)/epub-xhtml.xsl \ # Generate the ePub file from the XML file epub: $(EPUB) $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB): $(XMLFILE) $(EPUBSCRIPT) $(XSLFILES) +# Use this when using Souvenir fonts (cannot be distributed in Project Aon's SVN repository) +# make sure the font is available in the fontfiles directory *one level before* the SVN repo +# cd $(AONROOTDIR) && perl $(EPUBSCRIPT) --language=$(BLANG) --font-files=$(AONROOTDIR)/../fontfiles/ $(BASENAME) +# Use this when using the fonts provided in the Carlito font (distributed with an Open Font license) +# which is available in the Project Aon's SVN repository cd $(AONROOTDIR) && perl $(EPUBSCRIPT) --language=$(BLANG) --font-files=$(AONROOTDIR)/common/fonts/ $(BASENAME) $(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) -- 2.34.1