]> 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)
commit241787ec1e4f76ea87debe02e60e072055166809
tree0958165531ec16876f6824356c3a75e5a4bfd6b4
parentac30fc71290eb29dae7d4a196b414d82c51d54f9
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