]> granicus.if.org Git - docbook-dsssl/commit
This resolves bug #2873142, Please add support for multiple embedded fonts
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Sat, 10 Oct 2009 00:40:43 +0000 (00:40 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Sat, 10 Oct 2009 00:40:43 +0000 (00:40 +0000)
commite1ec58d89ba91ae505f36698db1e363d8f9dacae
tree6ff154f2ff41f97cc058d4b53518d4af3eb4ea7d
parentc0d1cd2a35d749a9900c5ce830eaed7f77ffe26b
This resolves bug #2873142, Please add support for multiple embedded fonts

If you navigate to a checkout of DocBook-XSL and go to:
xsl/epub/bin/spec/files
You can now run the following command:

../../dbtoepub -f DejaVuSerif.otf -f DejaVuSerif-Italic.otf -c test.css
-s test_cust.xsl orm.book.001.xml

In dbtoepub, the following option can be used more than once:
-f, --font [OTF FILE] Embed OTF FILE in .epub.

The underlying stylesheet now accepts a comma-separated list of font file
names rather than just one as the RENAMED epub.embedded.fonts ('s' added).

The runnable EPUB spec now includes:
- should be valid .epub after including more than one embedded font
xsl/epub/bin/lib/docbook.rb
xsl/epub/bin/spec/epub_spec.rb
xsl/epub/bin/spec/files/DejaVuSerif-Italic.otf [new file with mode: 0644]
xsl/epub/bin/spec/files/test.css
xsl/epub/docbook.xsl