Jody Garnett ha scritto: > Thanks for bringing that context back to the discussion (I somehow > missed it arriving partway along in the discussion). > > I am interested in seeing this happen as: - it is not wms specific - > we run into this issue when printing from uDig - it really is not wms > specific; we are starting to run into this issue when working with > different displays - I really don't want to see applications getting > in the habit of hacking around the renderer; or we will end up > maintaining hacks in a number of different places (my recent > experience with the GML parsing really underscores this point for me) > > > So this dpi setting is needed and seems fine. > > Andrea with renderer becoming aware of dpi - would we be able to > retire the rescale style visitor (which uDig is using to hack around > this problem currently)?
Let's say the renderer would become... more aware of dpi. It's actually already considering the dpi hint when it comes to compute the scale. The rescale visitor would not go, that's actually the bit of code I want to use to perform dpi rescaling (just as the uom rescale visitor, sitting right in the same package as yours, it visible to everybody, and used internally in the renderer) Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel