From: Javier Fernández-Sanguino Date: Tue, 9 May 2017 17:19:53 +0000 (+0000) Subject: Document why you would use a different location for font files X-Git-Tag: 20180215~108 X-Git-Url: http://git.projectaon.org/?a=commitdiff_plain;h=add4e93b2ef3da20e9651c317928d7c9531981f0;p=project-aon.git 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 --- 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)