That looks like a problem with FOP. By setting line-height="0.125in" you should get 8 lines per inch.
If you have Acrobat you can press control-U which brings up the grid, so you can measure things without needing to print them. Regards John Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand phone +64 4 479 1738 fax +64 4 479 1294 web http://www.xmlpdf.com ----- Original Message ----- From: "Neil Guinto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 28, 2004 9:42 AM Subject: LPI and CPI vs line-height and font-size > Are they ever the same in meaning? Because I based my presumption on > it, otherwise my calculation based on having a similar effect will be > wrong then. LPI: 8 = 1/8 in and CPI: 10 = 1/10 in. > > I verified the result by measuring the printed output on paper. It was > printed on a Lexmark Optra S 1250 laser printer. It didn't come out > exactly as I expect. I tried it on the following renderers: PDF, PCL, > AWT. They all have the same result. > > I'm using version FOP 0.20.5. > > Here's a sample of my FO file: > <?xml version="1.0" encoding="UTF-8"?> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master margin-right="0.5in" margin-left="0.5in" > margin-bottom="0.0in" margin-top="0.0in" page-width="11in" > page-height="8.5in" master-name="US Letter Landscape"> > <fo:region-body/> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence line-height="0.125in" font-size="0.1in" > font-family="Courier" master-reference="US Letter Landscape"> > <fo:flow flow-name="xsl-region-body"> > <fo:block > </fo:block> > <fo:block > </fo:block> > <fo:block > > JTRP006 - QPRINT Override w/ Printer File > Page: 1</fo:block> > <fo:block > </fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > <fo:block >This will print LPI(8) & CPI(10).</fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
