Re: SVG pixel size

2013-07-15 Thread Massimo
Hi all. Thanks for your answers. Finally I found a solution that worked for me. Cheers, Massimo. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/SVG-pixel-size-tp38853p38896.html Sent from the FOP - Users mailing list archive at Nabble.com

Re: SVG pixel size

2013-07-09 Thread Massimo
/svg204Image.png -- View this message in context: http://apache-fop.1065347.n5.nabble.com/SVG-pixel-size-tp38853p38858.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr

Re: SVG pixel size

2013-07-09 Thread Luis Bernardo
/svg204Image.png -- View this message in context: http://apache-fop.1065347.n5.nabble.com/SVG-pixel-size-tp38853p38858.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users

Re: SVG pixel size

2013-07-09 Thread Sergiu Dumitriu
The problem is that the pixel is a very wrong/misleading unit. Initially (HTML3) there was no CSS, and no units, so there were just unit-less length: table border=4 would create a table with a 4 pixels wide border [1]. Back then (early-mid 90s), almost all monitors were low resolution, and it was

Re: SVG pixel size

2013-07-09 Thread Sergiu Dumitriu
On 07/09/2013 12:26 PM, Vincent Hennebert wrote: Hi Massimo, the easiest is to have the source resolution match the target resolution. That way, one pixel in your source will become 1 pixel in the output. That said, if you want a real one-pixel line and not something anti-aliased you

Re: SVG pixel size

2013-07-09 Thread Vincent Hennebert
On 09/07/13 18:51, Sergiu Dumitriu wrote: On 07/09/2013 12:26 PM, Vincent Hennebert wrote: Hi Massimo, the easiest is to have the source resolution match the target resolution. That way, one pixel in your source will become 1 pixel in the output. That said, if you want a real one-pixel

Re: SVG pixel size

2013-07-09 Thread Sergiu Dumitriu
On 07/09/2013 01:43 PM, Vincent Hennebert wrote: On 09/07/13 18:51, Sergiu Dumitriu wrote: On 07/09/2013 12:26 PM, Vincent Hennebert wrote: Hi Massimo, the easiest is to have the source resolution match the target resolution. That way, one pixel in your source will become 1 pixel in the

Re: SVG pixel size

2013-07-09 Thread Luis Bernardo
Correct. And since FOP is still in the past and uses 72 instead of 96: 2.125 / 72 * 96 = 2.833 (pixels, which become dots when sent to the printer) On 7/9/13 5:46 PM, Sergiu Dumitriu wrote: So, a pixel is a fixed length that doesn't scale down with the DPI, it should always be 1/96 inches. At

SVG pixel size

2013-07-08 Thread Massimo
I need to draw 1 pixel thin lines. I set the target resolution to 203dpi and I noticed that the pixel of the lines is scaled (bigger) according the resolution (~3px thin). Is there any way to control the svg pixel size via program or configuration leaving the resolution to 203dpi? Thanks

Re: SVG pixel size

2013-07-08 Thread Luis Bernardo
noticed that the pixel of the lines is scaled (bigger) according the resolution (~3px thin). Is there any way to control the svg pixel size via program or configuration leaving the resolution to 203dpi? Thanks. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/SVG-pixel