I’m curious about the behavior of FontRenderContext.getTransform() in HiDPI 
mode. The documentation says it maps points to pixels, but it doesn’t say what 
kind of pixels. I would have assumed virtual pixels (AWT pixels) for 
consistency with the rest of the API, but in fact I get a 2x mapping on a 
simulated Retina display. Is this a good thing or a bug?

Some API to reveal the HiDPI scaling factor is needed, but I would think it 
should be a new API to avoid confusing old programs that don’t know about HiDPI 
mode.

The larger issue - is there a plan to document HiDPI mode? I have not found any 
mention of it in the docs other than a cryptic message that Retina displays now 
work properly. All I have learned comes from mailing lists, blogs, and reading 
source code. Some programs need to be updated to work well in HiDPI mode, and 
documentation is needed on how to do that.

  Alan

Reply via email to