<Swing Dev> [9] Review request for 8142966 Wrong cursor position in text components on HiDPI display

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 10 12:36:07 UTC 2016


On 10.05.16 9:54, Alexandr Scherbatiy wrote:
>    If a backbuffer has scale 1 on HiDPI display it will show a blurry
> text and some other artifacts like that. I believe it should have HiDPI
> scale.
>    The fix only aligns the Swing font rendering context with the same
> transform scale.

It will be blurring if later it will be painted to the window(or to 
surface with bigger transform), but it can be drawn/saved to some other 
location(like it was implemented in JLightweightFrame).
The point was that an assumption that the component.GC and GC of the 
Graphics are the same is incorrect.

-- 
Best regards, Sergey.



More information about the swing-dev mailing list