Hi Hussein, Our input comes in px sometimes I could simply convert to pts say pts= px * (72/96) assuming 72 points per inch and 96 px per inch
Does this make sense? Or are you already doing same in xmlmind already. Thanks in Advance, Dave -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Tuesday, April 26, 2011 2:50 AM To: Shapiro, David C (GRC) Cc: Petrosie, Andrew (GRC); [email protected] Subject: Re: [XFC] [FOLLOW-UP] FO to RTF issue double line border too thick Recommendation: do not use "px" in your XSL-FO. In all cases, not only the one you have reported, using this unit may give unexpected results. Instead, we recommend to use "pt". XMLmind XSL-FO Converter automatically converts "px" lengths to ``absolute'' units ("in", "mm", "cm", "pt", etc) using its screenResolution parameter. By default, screenResolution is 96DPI, but of course, you can adjust this parameter. References: * http://www.xmlmind.com/foconverter/_distrib/doc/user/command_line_java.h tml * http://www.xmlmind.com/foconverter/_distrib/doc/api/com/xmlmind/fo/conve rter/Converter.html#setProperty(java.lang.String,%20java.lang.String) On 04/25/2011 05:58 PM, [email protected] wrote: > > When using the xmlmind product to convert FO to RTF we noticed that > double border line is twice the thickness it should be. It looks like > each line in the double line border is 3px vs. a 3 px double line > > > > What we were expecting is the line would double line's total thickness > would be 3px just like the way it is interrupted by html browsers. > > > > > > See attached example and same style rendered in html as an example. > > > > Sample FO > > <fo:table-cell border="1px" padding="0px" display-align="after" > border-top="3px double #000000"><fo:block> > > </fo:block></fo:table-cell> > > > > Fo for comparison > > <fo:table-cell border="1px" padding="0px" display-align="after" > border-top="3px solid #000000"><fo:block> > > </fo:block></fo:table-cell> > > > -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

