AW: AW: PS Renderer patch
Jeremias Maerki wrote: I wonder. What exactly would you like to tell us with this mail? I don't get it. > The coordinates x/y have to be defined: outer, inner, center of the border > line? How does a renderer programmer know what coordinate parameters stand for exactly? Most likely he will print a PDF document and his own document, put two sheets one above each other, look at a window glass how lines match and fit. Then he has to figure out how coordinates are to be handled. If he has bad luck the printer driver will shrink one of the outputs to fit the page. Does this sentence hold? "The print renderer delivers PDF coordinates and measurements for text, lines, rectangles etc." Hansuli Anderegg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: AW: PS Renderer patch
I wonder. What exactly would you like to tell us with this mail? I don't get it. > The coordinates x/y have to be defined: outer, inner, center of the border > line? > > PDF renderer FOP-0.20.1 > > o draws a box with 4 filled rectangles - each border line is a filled > rectangle. The SVG trace below demonstrates this. > > o 4 calls to method addFilledRect(int x, int y, int w, int h, PDFPathPaint > fill) in PDFRenderer > > > (x,y) is the center of the line > > border height = 3 > ---center (y for horizontal line) > > > Other renderers might have to operate with (y +- h/2), (x +- w/2) > > > http://www.w3.org/2000/svg";> > fill="rgb(255.0,0.0,0.0)"/> > fill="rgb(255.0,0.0,0.0)"/> > fill="rgb(255.0,0.0,0.0)"/> > fill="rgb(255.0,0.0,0.0)"/> Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: PS Renderer patch
The coordinates x/y have to be defined: outer, inner, center of the border line? PDF renderer FOP-0.20.1 o draws a box with 4 filled rectangles - each border line is a filled rectangle. The SVG trace below demonstrates this. o 4 calls to method addFilledRect(int x, int y, int w, int h, PDFPathPaint fill) in PDFRenderer (x,y) is the center of the line border height = 3 ---center (y for horizontal line) Other renderers might have to operate with (y +- h/2), (x +- w/2) http://www.w3.org/2000/svg";> Hansuli Anderegg tables.pdf Description: Adobe PDF document http://www.w3.org/1999/XSL/Format"; xmlns:src="UBSXMLSrc"> / table border - cell padding, border cell 1.1 cell 1.2 cell 1.3 cell 2.1 cell 2.2 cell 2.3 cell 3.1 cell 3.2 cell 3.3 table border, padding top/bottom - cell padding, border cell 1.1 cell 1.2 cell 1.3 cell 2.1 cell 2.2 cell 2.3 cell 3.1 cell 3.2 cell 3.3 table border, padding left/right - cell border cell 1.1 cell 1.2 cell 1.3 cell 2.1 cell 2.2 cell 2.3 cell 3.1 cell 3.2 cell 3.3 table border - cell 0 cell 1.1 cell 1.2 cell 1.3 cell 2.1 cell 2.2 cell 2.3 cell 3.1 cell 3.2 cell 3.3 table 0 - cell border cell 1.1 cell 1.2 cell 1.3 cell 2.1 cell 2.2 cell 2.3 cell 3.1 cell 3.2 cell 3.3 table borders - cell borders dependent from position cell 1.1 cell 1.2 cell 1.3 cell 2.1 cell 2.2 cell 2.3 cell 3.1 cell 3.2 cell 3.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]