[udig-devel] dpi issues
Jody Garnett
jgarnett at refractions.net
Wed Mar 26 14:20:42 PDT 2008
Hi Vince:
I have been thinking a bit more about this; and I agree with you that
ApplicationGIS.drawMap() should "do the right thing" taking scale and so
forth into account as needed.
It sounds like the issue of printing (from BIRT or iText) may need some
additional control; my gut feeling is we should make some of the
MapBoxPrinter / ExportMapToImageWizard functionality available for
others to reuse as a separate issue. I have confirmed that the Rescale
code has only been applied to trunk.
Jody
> At 15:55 26/03/2008, Jody Garnett wrote:
> >I *did* preprocess my map and adjust all the Scales and Font sizes in
> the GeoTools Style objects (since they >are expressed in pixels it
> needed to be done).
>
> Just to clarify this, since I've not really looked closely at GeoTools
> Style definitions, *must* they be defined in pixels, or can they be
> defined in points? (1 pixel = 1 point if operating at 72 dpi,
> otherwise they differ). The most natural thing for my use-case is to
> consider defining them in points. Given a gradual trend towards
> device-independent & resolution-independent display mechanisms &
> drivers (e.g. MacOS X, Cairo, etc), it would seem the future is in
> this area.
>
> regards,
>
> Vince.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list