[udig-devel] dpi issues
Jody Garnett
jgarnett at refractions.net
Wed Mar 26 09:01:58 PDT 2008
Vince Darley wrote:
> At 14:43 26/03/2008, andrea antonello wrote:
>> Not so sure about that. You can create an image of 300 dpi, but when
>> it goes into a pdf it will be lowered in resolution.
> Really!? That would be horrible, given that any decent printer these
> days has at least 300 dpi resolution.
It is just a restriction on the quick PDF export that Jesse made.
If you look at the Page api; when you print directly from a uDig page to
a Printer it allows the scalebar, renderer and so on to work directly
with the Printer's Graphics2D interface and print at full printer
resolution. Earliy in uDig lifecycle we were printing out to plotters
and having a great time (a neighboring company had a plotter we could
borrow).
> Fortunately for the code path I'm using (the 'Udig Map -> BIRT report
> element -> BIRT report render' that I mentioned last year), this does
> not appear to be true, but I would really, really hope it is not true
> in general for udig's pdf export (understandable if that's all that
> iText supports, but still a pretty horrible limitation).
The pdf export appears to be a quick fun hack, while it would be
tempting to make a Graphics2D iText wrapper it sounds like we may be
limited to 72 dpi positioning?
Jody
More information about the udig-devel
mailing list