Re: Garbled PDF text
Hi, I think this is a tricky one to solve without an example .fo document that generates this error. Pete On Thu, Mar 18, 2010 at 3:06 PM, superglue srinivas.cha...@gmail.comwrote: Hi All, we are using FOP 0.95 to generate PDF documents. Recently, one of our customers reported on garbled PDF text. The PDF document generated is 39 pages and everything looks fine upto end of page 3; the text is garbled from page 4 onwards. the isuse doesn't happen all the time and is occasional. We tried recreating the issue with similar set up and we are unable to recreate the same. At this time, any guidance on this will be greatly helpful for us to troubleshoot/resolution of this issue. Interesting fact about the garbled text is that there is one ASCII shift in the text displayed. For example, the garbled text Dpnqmfrfe” is “Completed”. P is rendered as Q and A is rendered as B and so on. We are treating this as garbled text and troubleshooting rather than investigating on the character shift. The PDF properties by going to File - properties on a PDF image has the PDF producer and the fonts null. In a good case, the PDF producer proprty on description tag is Apache FOP .95 and 2 fonts are listed on the fonts tab. Please see the attached documents. http://old.nabble.com/file/p27946921/Garbled-PDFText.docx Garbled-PDFText.docxhttp://old.nabble.com/file/p27946921/Garbled-PDFText.docx%0AGarbled-PDFText.docx http://old.nabble.com/file/p27946921/Garbled-PDFText-properties.docx Garbled-PDFText-properties.docxhttp://old.nabble.com/file/p27946921/Garbled-PDFText-properties.docx%0AGarbled-PDFText-properties.docx http://old.nabble.com/file/p27946921/Good-PDFText-properties.docx Good-PDFText-properties.docxhttp://old.nabble.com/file/p27946921/Good-PDFText-properties.docx%0AGood-PDFText-properties.docx -- View this message in context: http://old.nabble.com/Garbled-PDF-text-tp27946921p27946921.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: RTF output: spaces added after { } \ characters
JoshC wrote: Hi Everyone, I'm using FOP to generate RTF output. The problem I'm having is that FOP adds a space after each of the following three characters in RTF output: { } \. In PDF output it does not add spaces after these characters. It seems to only be on these characters, though I haven't done a thorough test of other characters. Does anyone know why FOP might be doing this or if there is a workaround to make it stop adding spaces in RTF output? What version of FOP are you using? Can you attach a sample FO File that can be used to demonstrate the issue? Thanks, Chris - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: TOC link issue with referenced page number and text-align-last=justify
Chris, Sorry about that. I hope the below is what you meant, it's the output from the XSLT snippet. fo:block font-family=Arial font-size=9pt font-weight=normal text-align-last=justify fo:basic-link internal-destination=SR1357-part-d75e490-383 destination-placement-offset=0.00in011202 fo:leader leader-pattern=dots leader-alignment=reference-area/1-fo:page-number-citation ref-id=SR1357-part-d75e490-383//fo:basic-link /fo:block Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Chris Bowditch [mailto:bowditch_ch...@hotmail.com] Sent: Friday, March 19, 2010 5:45 AM To: fop-users@xmlgraphics.apache.org Subject: Re: TOC link issue with referenced page number and text-align-last=justify Mario Madunic wrote: (using FOP .95 on Windows XP sp3) (sorry for the cross post with the FO list, meant to post here not there) I have the following code: fo:block xsl:call-template name=ct_ChooseAttributeSet / fo:basic-link internal-destination={...@idref} destination-placement-offset=0.00inxsl:value-of select=concat(@partNumber, ' ') /fo:leader leader-pattern=dots leader-alignment=reference-area /xsl:value-of select=concat(@section, '-') /fo:page-number-citation ref-id={...@idref} //fo:basic-link /fo:block What is happening is the link works fine for the string generated before fo:page-number-citation but not for the page number retrieved via the fo:page-number-citation. To be picky also the '-' before the page-number-citiation is not linked also, The call-template brings in an attribute set that contains the following (a called template is used instead of attribute set due to not being able to dynamically generate an attribute sets name via use-attribute-sets as in xsl:use-attribute-sets=as_NumericIndexEntry{$l_AS_Extension}, just in case you were interested) xsl:template name=as_NumericIndexEntry xsl:attribute name=font-family select=$g_FontFamily / xsl:attribute name=font-size select=$g_FontSizeSmMed / xsl:attribute name=font-weight select='normal' / xsl:attribute name=text-align-last select='justify' / /xsl:template Seems that the text-align-last=justify is the culprit. Is this a FOP bug? Solution? To help us investigate can you send us a small sample FO file (not XSLT as you've provided above) that demonstrates the problem? Thanks, Chris - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
SVG as background to page in 0.95
I was doing the following with FOP 0.94 while testing fo:region-body region-name=sectionBody_NI background-image=bg.svg background-repeat=no-repeat ../ And it would appear as a bg on the page. But in 0.95 that doesn't seem to work. How can I get an SVG as a background to work in 0.95. One constraint is that the odd and even pages in this case each have a different bg image. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org