Mailinglist Archive: opensuse-doc (12 mails)

< Previous Next >
[opensuse-doc] PDF build error
  • From: Guillaume Gardet <guillaume.gardet@xxxxxxx>
  • Date: Tue, 22 Nov 2011 10:22:17 +0100
  • Message-id: <4ECB69C9.1020706@free.fr>
Hi,

I tried to build HTML doc (no problem) and PDF doc but I get a bunch of errors
with PDF build.
Full error log can be found here: http://guillaume.gardet.free.fr/tmp/log.txt

I used those commands to build:
daps --envfile=ENV-opensuse-all dist-html
daps --envfile=ENV-opensuse-all color-pdf

Any idea how to solve the problem?

Here is the beginning of the error log, it seems daps cannot find some fonts:

********************************************************************************
********************************************************************************
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "DejaVuSans,normal,700" not found. Substituting with
"DejaVuSans,normal,400".
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "Symbol,normal,700" not found. Substituting with
"Symbol,normal,400".
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with
"ZapfDingbats,normal,400".
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Content overflows the viewport of the fo:region-before on page 1 in
block-progression direction by 14000 millipoints. (See position 6932:60)
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Content overflows the viewport of the fo:region-after on page 1 in
block-progression direction by 3500 millipoints. (See position 7025:59)
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Content overflows the viewport of the fo:region-before on page 2 in
block-progression direction by 14000 millipoints. (See position 6998:60)
Nov 22, 2011 10:05:00 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Content overflows the viewport of the fo:region-after on page 2 in
block-progression direction by 3500 millipoints. (See position 7070:59)
Nov 22, 2011 10:05:01 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Line 1 of a paragraph overflows the available area by more than 50
points. (See position 7228:42)
Nov 22, 2011 10:05:01 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Content overflows the viewport of an fo:block-container in
block-progression direction by 2647 millipoints. (See position 7246:165)

***** CSSEngine: exception
property.syntax.error:org.w3c.css.sac.CSSParseException: Unexpected token: 7
(see LexicalUnits).

AttrValue:FreeSans,DejaVuSans,suse.sans

Exception:org.w3c.css.sac.CSSParseException
org.w3c.css.sac.CSSParseException: Unexpected token: 7 (see LexicalUnits).
at org.apache.batik.css.parser.Parser.createCSSParseException(Unknown
Source)
at org.apache.batik.css.parser.Parser.parseTerm(Unknown Source)
at org.apache.batik.css.parser.Parser.parseExpression(Unknown Source)
at org.apache.batik.css.parser.Parser.parsePropertyValueInternal(Unknown
Source)
at org.apache.batik.css.parser.Parser.parsePropertyValue(Unknown Source)
at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown Source)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown Source)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown Source)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at
org.apache.fop.render.pdf.PDFImageHandlerSVG.handleImage(PDFImageHandlerSVG.java:93)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:227)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:183)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:148)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:297)
at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:204)
at
org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1189)
at
org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:745)
at
org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:709)
at
org.apache.fop.render.intermediate.IFRenderer.renderViewport(IFRenderer.java:860)
at
org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:634)
at
org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:912)
at
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:609)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:544)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534)
at
org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:432)
at
org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:665)
at
org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:411)
at
org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:345)
at
org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:292)
at
org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:731)
at
org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:265)
at
org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:230)
at
org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:580)
at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:114)
at
org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167)
at
org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:284)
at
org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:538)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:143)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:132)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:337)
at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:85)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:107)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:204)

***** CSSEngine: exception....
Nov 22, 2011 10:05:01 AM org.apache.fop.events.LoggingEventListener processEvent
SEVERE: SVG error:
file:/home/guillaume/perso/opensuse-doc_svn/svn-berlios/en/build/.tmp/:
The attribute "font-family" represents an invalid CSS value
("FreeSans,DejaVuSans,suse.sans").
Original message:
Unexpected token: 7 (see LexicalUnits).
********************************************************************************
********************************************************************************
--
To unsubscribe, e-mail: opensuse-doc+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-doc+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups