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: [email protected] To: [email protected] 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:<font metrics-url="calibri.xml" kerning="yes" embed-url="calibri.ttf"> <font-triplet name="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:[email protected]] Envoyé : vendredi 26 juillet 2013 10:55 À : [email protected] 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 MeyerFrom: [email protected] To: [email protected] Date: Fri, 26 Jul 2013 08:51:19 +0200 Subject: Log traceHello 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 FOP2013-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, Adrien RUFFIE Ingénieur R&D 40, rue du Village d’Entreprises 31670 Labège 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 [email protected] E-DEAL soutient le Pacte Mondial de l'ONU --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
<<inline: image001.png>>
<<inline: image002.png>>
<<inline: image003.png>>
<<inline: image004.png>>
