xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Bernardo <lmpmberna...@gmail.com>
Subject Re: Log trace
Date Wed, 31 Jul 2013 02:58:02 GMT

Apologies. I misunderstood what you meant.

The bulk of FOP happens inside transformer.transform(src, result). So it 
could be anything. Do you have images? What if you run with them 
disabled (move them to a different directory)? You can send your example 
to one of the developers if you don't want to share it with everyone.

On 7/29/13 1:14 AM, Adrien RUFFIE wrote:
>
> No sorry I think isn't the problem because, I haven't out of memory 
> and my JVM have 2GO ...
>
> Bien cordialement,
>
> *Adrien Ruffié*
> LD : +33 1 73 03 29 50
> Tél : +33 1 73 03 29 80
>
> *E-DEAL* <http://www.e-deal.com/>
> Innover la Relation Client
>
> *De :*Luis Bernardo [mailto:lmpmbernardo@gmail.com]
> *Envoyé :* dimanche 28 juillet 2013 14:14
> *À :* fop-users@xmlgraphics.apache.org
> *Objet :* Re: Log trace
>
>
> If the input FO file is very large then the memory consumption during 
> the parsing phase will be large too. The limitation then is the memory 
> your JVM is able to use. Increase it and it should improve things.
>
> On 7/26/13 11:20 AM, Adrien RUFFIE wrote:
>
>     Yes very thank Robert,
>
>     But I think my problem is more due to transformer.transform(src,
>     result)
>
>     With a big src file wordML (1025ko) ... the process block on
>     transform without out of memory, very strange ...
>
>     Ay one know this limitation?
>
>     Bien cordialement,
>
>     *Adrien Ruffié*
>     LD : +33 1 73 03 29 50
>     Tél : +33 1 73 03 29 80
>
>     *E-DEAL* <http://www.e-deal.com/>
>     Innover la Relation Client
>
>     *De :*Robert Meyer [mailto:rmeyer@hotmail.co.uk]
>     *Envoyé :* vendredi 26 juillet 2013 17:45
>     *À :* fop-users@xmlgraphics.apache.org
>     <mailto:fop-users@xmlgraphics.apache.org>
>     *Objet :* RE: Log trace
>
>     Hi Adrien,
>
>     700 means that somewhere in the FO it is trying to reference a
>     bold version of the Calibri font. Because the only font triplet
>     defined is that of weight="normal", it is reverting back to normal
>     (i.e. 400). I am not sure for that particular font, but you need
>     either to have another font entry for the calibri-bold.ttf font,
>     or if the calibri.ttf supports bold, add a new triplet and define
>     weight="bold".
>
>     Regarding the overflow, this message is only usually displayed for
>     the following reasons:
>     - It can't break the content e.g. a long string of characters
>     (e.g. HHHHHHHHH) doesn't allow breaks, so it will just overflow.
>     - An image or other content which is larger than the maximum size
>     of the block
>     The block width will extend to the full size of the page (or the
>     maximum size it can given the layout). In this case, the warning
>     informs us the content is greater than the maximum size. It will
>     display the warning unless either the content is changed or the
>     page size is made larger.
>
>     Yes, the fo:marker is retrieved using that.
>
>     I wouldn't say that these issues are related to the issue of
>     waiting 2 or more hours though to complete though.
>
>     Regards,
>
>     Robert Meyer
>
>     ------------------------------------------------------------------------
>
>     From: a.ruffie@e-deal.com <mailto:a.ruffie@e-deal.com>
>     To: fop-users@xmlgraphics.apache.org
>     <mailto:fop-users@xmlgraphics.apache.org>
>     Date: Fri, 26 Jul 2013 12:49:29 +0200
>     Subject: RE: Log trace
>
>     Ok thank Robert :
>
>     -For table your solution work correctly
>
>     -For Calibri I have added Calibri.xml and ttf in my fonts
>     directory and add:
>
>     <fontmetrics-url=/"calibri.xml"
>     /kerning=/"yes"/embed-url=/"calibri.ttf"/>
>
>     <font-tripletname=/"Calibri"/style=/"normal" /weight=/"normal"//>
>
>     </font>
>
>     In my *.xconf but now the trace as changed : Font
>     'Calibri,normal,700' not found. Substituting with
>     'Calibri,normal,400'.
>
>     What is the different between Calibri, normal,700 and 400 ? Where
>     I can change this value ?
>
>     -For the overflow how and where I can specify a larger size than
>     that already specified ?
>
>     -For block size I can avoid this trace ?
>
>     -For fo:retrieve-marker  the linked fo:marker is retrieve from
>     retrieve-class-name property ? like
>     retrieve-class-name="odd-page-footer"
>
>     I think is it small problem, but I have one principal (my pdf
>     generation doesn't finish after 2hour waiting ...), and I just
>     would like try if this is not due to these previous small errors
>
>     Great thank
>
>     *De :*Robert Meyer [mailto:rmeyer@hotmail.co.uk]
>     *Envoyé :* vendredi 26 juillet 2013 10:55
>     *À :* fop-users@xmlgraphics.apache.org
>     <mailto:fop-users@xmlgraphics.apache.org>
>     *Objet :* RE: Log trace
>
>     Hi Adrien,
>
>     - The first warning is because FOP doesn't support a table-layout
>     with a value of "auto". It will default to fixed anyway, so change
>     it to use table-layout="fixed" to resolve the warning.
>     - FOP can't find the Calibri font you've specified to use. You
>     might want to check your *.xconf to ensure it's configured
>     correctly and pointing to the correct location of the font.
>     - The overflow warning basically means that the breaking algorithm
>     is unable to break the content of the block adequately. Either
>     that or the content is too large to fit it in the given size. 5-8k
>     mpt is relatively small though, so you may not see anything wrong.
>     - The final warning relates to use the fo:retrieve-marker used for
>     running page headers / footers. If an fo:retrieve-marker has been
>     specified, but there is no matching fo:marker set then it will
>     likely cause this warning.
>
>     Regards,
>
>     Robert Meyer
>
>     ------------------------------------------------------------------------
>
>     From: a.ruffie@e-deal.com <mailto:a.ruffie@e-deal.com>
>     To: fop-users@xmlgraphics.apache.org
>     <mailto:fop-users@xmlgraphics.apache.org>
>     Date: Fri, 26 Jul 2013 08:51:19 +0200
>     Subject: Log trace
>
>     Hello all,
>
>     My application create a pdf doc from a wordml modèle (in
>     attachment), my pdf is correctly generated but several warning
>     appears. Do you know these problems ?
>
>     2013-07-25 18:39:15,585 799671 [http-8080-5] WARN 
>     org.apache.fop.fo.FONode - Warning(Unknown location): fo:table,
>     table-layout="auto" is currently not supported by FOP
>
>     2013-07-25 18:39:15,951 800037 [http-8080-5] WARN
>     org.apache.fop.fonts.FontInfo  - Font 'Calibri,normal,400' not
>     found. Substituting with 'any,normal,400'.
>
>     2013-07-25 18:39:16,033 800119 [http-8080-5] WARN
>     org.apache.fop.fonts.FontInfo  - Font 'Calibri,normal,700' not
>     found. Substituting with 'any,normal,700'.
>
>     2013-07-25 18:39:16,047 800133 [http-8080-5] WARN
>     org.apache.fop.layoutmgr.BreakingAlgorithm  - Line 1 of a
>     paragraph overflows the available area by 5162mpt. (fo:block,
>     "Strength")
>
>     2013-07-25 18:39:16,048 800134 [http-8080-5] WARN
>     org.apache.fop.layoutmgr.BreakingAlgorithm  - Line 1 of a
>     paragraph overflows the available area by 8490mpt. (fo:block,
>     "Disponibilité")
>
>     ...
>
>     2013-07-25 18:39:16,274 800360 [http-8080-5] WARN
>     org.apache.fop.layoutmgr.BreakingAlgorithm  - Line 1 of a
>     paragraph overflows the available area by 4898mpt. (fo:block,
>     "azdazdaz")
>
>     2013-07-25 18:39:16,337 800423 [http-8080-5] INFO 
>     org.apache.fop.fo.FONode - Empty marker retrieved...
>
>     2013-07-25 18:39:16,337 800423 [http-8080-5] INFO 
>     org.apache.fop.fo.FONode - Empty marker retrieved...
>
>     Great thank and best regards.
>
>     Bien cordialement,
>
>     E-DEAL <http://e-deal.biz/kd/9eZ>
>
>     	
>
>     Twitter <http://e-deal.biz/kd/UOh>Facebook
>     <http://e-deal.biz/kd/X9Q>RSS <http://e-deal.biz/kd/bTG>
>
>     *Adrien RUFFIE*
>     /Ingénieur R&D/
>
>     40, rue du Village d'Entreprises
>     31670 Labège
>     *www.e-deal.com* <http://www.e-deal.com/>
>
>     	
>
>
>     LD : +33 1 73 03 29 50
>     Std : +33 1 73 03 29 80
>     Fax : +33 1 73 01 69 77
>     *a.ruffie@e-deal.com<mailto:a.ruffie@e-deal.com>*
>
>
>     E-DEAL soutient le Pacte Mondial de l'ONU <http://e-deal.biz/kd/mPQ>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail:
>     fop-users-unsubscribe@xmlgraphics.apache.org
>     <mailto:fop-users-unsubscribe@xmlgraphics.apache.org> For
>     additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>     <mailto:fop-users-help@xmlgraphics.apache.org>
>


Mime
View raw message