Cell border rendering error (thicker) with number-column-spanned
I've met with a problem with thicker table border with number-column-spanned on FOP 1.0. The copied text exactly describes the same problem I have. When zoomed to 100% or 200% in Adobe reader, you can find the thicker line. Any idea? Seems like it's a bug of FOP, if so, can anyone fix it or point the Java file I should go? Adobe Reader: 8.3.1 FOP: 1.0 FO: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:html=http://www.w3.org/1999/xhtml; role=html:html fo:layout-master-set fo:simple-page-master page-width=auto page-height=auto master-name=all-pages fo:region-body / fo:region-before / fo:region-after / fo:region-start / fo:region-end / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=all-pages fo:flow flow-name=xsl-region-body fo:block role=html:body fo:table fo:table-column number-columns-repeated=3 role=html:colgroup / fo:table-body border-collapse=collapse fo:table-row fo:table-cell number-columns-spanned=3 border=1px border-style=solid role=html:td fo:blocktest text /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell number-columns-spanned=3 border=1px border-style=solid role=html:td fo:blocktest text /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:flow /fo:page-sequence /fo:root Copied: I found that using the attribute number-column-spanned inside a cell element, I get a bad rendering of the cell border: it gets thicker in the central section of the border. http://permalink.gmane.org/gmane.text.xml.fop.user/30912 -- View this message in context: http://old.nabble.com/Cell-border-rendering-error-%28thicker%29-with-number-column-spanned-tp33298921p33298921.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: Cell border rendering error (thicker) with number-column-spanned
I have seen that but I don't think it's actually bigger, it seems to be when the reader tries to show a 1 pixel (for example) line it guestimates it as 2 pixels, as pixels on document and pixels on zoomed viewer do not necessarily match, the other day SumatraPDF was showing all Letter l characters as double thickness/bold but when zoomed in or printed they looked ok. Kindest regards Theresa Forster Senior Software Developer -Original Message- From: zhangwei [mailto:cdzha...@gmail.com] Sent: 10 February 2012 09:14 To: fop-users@xmlgraphics.apache.org Subject: Cell border rendering error (thicker) with number-column-spanned I've met with a problem with thicker table border with number-column-spanned on FOP 1.0. The copied text exactly describes the same problem I have. When zoomed to 100% or 200% in Adobe reader, you can find the thicker line. Any idea? Seems like it's a bug of FOP, if so, can anyone fix it or point the Java file I should go? Adobe Reader: 8.3.1 FOP: 1.0 FO: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:html=http://www.w3.org/1999/xhtml; role=html:html fo:layout-master-set fo:simple-page-master page-width=auto page-height=auto master-name=all-pages fo:region-body / fo:region-before / fo:region-after / fo:region-start / fo:region-end / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=all-pages fo:flow flow-name=xsl-region-body fo:block role=html:body fo:table fo:table-column number-columns-repeated=3 role=html:colgroup / fo:table-body border-collapse=collapse fo:table-row fo:table-cell number-columns-spanned=3 border=1px border-style=solid role=html:td fo:blocktest text /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell number-columns-spanned=3 border=1px border-style=solid role=html:td fo:blocktest text /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:flow /fo:page-sequence /fo:root Copied: I found that using the attribute number-column-spanned inside a cell element, I get a bad rendering of the cell border: it gets thicker in the central section of the border. http://permalink.gmane.org/gmane.text.xml.fop.user/30912 -- View this message in context: http://old.nabble.com/Cell-border-rendering-error-%28thicker%29-with-number- column-spanned-tp33298921p33298921.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 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Cell border rendering error (thicker) with number-column-spanned
On 10/02/2012 09:14, zhangwei wrote: Hi, I've met with a problem with thicker table border with number-column-spanned on FOP 1.0. The copied text exactly describes the same problem I have. When zoomed to 100% or 200% in Adobe reader, you can find the thicker line. What about when you zoom to 800% or higher? Also, does the problem appear when you print the PDF? Any idea? Seems like it's a bug of FOP, if so, can anyone fix it or point the Java file I should go? It's not a bug of FOP, but down to the use of thin lines on low resolution devices and how different PDF Viewers handles this. 1px is a very thin line. 1pt should be the minimum really to ensure you don't see strange affects like this on screen. Adobe Reader does have some options that you can disable to improve the way thin lines are drawn at 100% zoom. Ensure the option Enhance Thin Lines is disabled Chris Adobe Reader: 8.3.1 FOP: 1.0 FO: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:html=http://www.w3.org/1999/xhtml; role=html:html fo:layout-master-set fo:simple-page-master page-width=auto page-height=auto master-name=all-pages fo:region-body / fo:region-before / fo:region-after / fo:region-start / fo:region-end / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=all-pages fo:flow flow-name=xsl-region-body fo:block role=html:body fo:table fo:table-column number-columns-repeated=3 role=html:colgroup / fo:table-body border-collapse=collapse fo:table-row fo:table-cell number-columns-spanned=3 border=1px border-style=solid role=html:td fo:blocktest text /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell number-columns-spanned=3 border=1px border-style=solid role=html:td fo:blocktest text /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:flow /fo:page-sequence /fo:root Copied: I found that using the attribute number-column-spanned inside a cell element, I get a bad rendering of the cell border: it gets thicker in the central section of the border. http://permalink.gmane.org/gmane.text.xml.fop.user/30912 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
fop 1: linefeed-treatment=preserve is not working
Hi, We switched from fop 0.94 to fop 1 recently and having the following problem: linefeed-treatment=preserve does not work in the code it used to work in fop 0.94 fo:block linefeed-treatment=preserve white-space-collapse=false xsl:value-of select=@something/ /fo:block Could you please help to figure out how to fix it? Thank you. Tatiyana. -- View this message in context: http://old.nabble.com/fop-1%3A-linefeed-treatment%3D%22preserve%22-is-not-working-tp33302965p33302965.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