Hi, I made a progress when generating PDF from DocBook sources (thanks to Bob Stayton and Markus Hoenicka). Now, the original English sources were translated the Czech language (stored using UTF-8 encoding).
I did observe the complaint about cs hyphenation. Here I was successfull to find information, download, and install the offo-hyphenation-binary version 2.0 (the complaint disappeared and words are hyphenated when needed by the algorithm). I was successfull to change the page-type to A4. I hopefully understand better the related XSL stylesheet. I made it specific for the Czech translation -- here is its content: fo-stylesheet.xsl ============================================================ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:import href="../tools/xsl/fo/docbook.xsl"/> <xsl:output encoding="utf-8" indent="no"/> <xsl:param name="paper.type">A4</xsl:param> <xsl:param name="alignment">left</xsl:param> <xsl:param name="fop1.extensions" select="1" /> <xsl:param name="variablelist.as.blocks" select="1" /> </xsl:stylesheet> ============================================================ What remains is the problem with missing glyphs. The resulting PDF contains the # char instead of some accented characters. I have found some information about default fonts, "must add font", "only some fonts for PDF", font embeded into PDF, big PDFs vs. small PDFs, etc. I tried, but it seems that I need your help here... I am working on Windows (using cygwin and Apache FOP 1.0). What is the EASY way to get rid of he # chars instead of the missing glyphs? What is the PREFERED way to do that? The produced PDF should include everything to be displayed on any machine. Thanks, Petr P.S. Here is what I observe in the console window: D:POSS_DiskPtrunkcs>xsltproc --output ./producingoss.fo ./fo-stylesheet.xsl book.xml Making portrait pages on A4 paper (210mmx297mm) D:POSS_DiskPtrunkcs>sh ../tools/bin/run-fop.sh -fo ./producingoss.fo -pdf ./producingoss.pdf (Using '../tools/bin/../fop/fop' for FOP) 2.2.2011 15:56:38 org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". 2.2.2011 15:56:38 org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". What is the 700 and 400 here? 2.2.2011 15:56:38 org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph "°" (0x159, rcaron) not available in font "Helvetica-Bold". 2.2.2011 15:56:38 org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph "ý" (0x11b, ecaron) not available in font "Helvetica-Bold". 2.2.2011 15:56:38 org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph "ý" (0x11b, ecaron) not available in font "Times-Italic". 2.2.2011 15:56:38 org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph "°" (0x159, rcaron) not available in font "Times-Italic". etc. I also observe some overflows which are a kind of natural (fixed-font texts. I do not want to solve it now. I guess it should or be rewritten (reformated by hand) or the font size should be somehow decreased -- next question. WARNING: Line 1 of a paragraph overflows the available area by 34725 millipoints . (See position 9811:9847) 2.2.2011 16:26:01 org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 poin ts. (See position 9811:9847) 2.2.2011 16:26:01 org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 28725 millipoints . (See position 9811:9847) 2.2.2011 16:26:01 org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 34725 millipoints . (See position 9811:9847) 2.2.2011 16:26:01 org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 22725 millipoints . (See position 9811:9847) D:POSS_DiskPtrunkcs> (the end for now) --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-h...@lists.oasis-open.org