Document why you would use a different location for font files
authorJavier Fernández-Sanguino <javier.fernandez-sanguino@projectaon.org>
Tue, 9 May 2017 17:19:53 +0000 (17:19 +0000)
committerJavier Fernández-Sanguino <javier.fernandez-sanguino@projectaon.org>
Tue, 9 May 2017 17:19:53 +0000 (17:19 +0000)
git-svn-id: https://projectaon.org/data/trunk@2590 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11

common/epub/Makefile.common

index eda9023..e998a28 100644 (file)
@@ -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)