I am having to deal with a retina screen for the first time and I an seeing something I don’t understand.
I thought if I drew text in the paint event directly to the graphics object using g.drawtext, it is supposed to come come out just fine without needing to to do anything special.
But the text is looking obviously blurry or pixelated (or poorly ant-aliased) on a 27" retina iMac with Text set to large on El Capitan . On my old late 2013 27" running 10.9.5 with the Display resolution set to HiDPI, I see the blurriness, but it’s not as pronounced as on a real retina screen…
There are some properties you can set via Declare (or AppleLib) for enhanced CGContext quality like ShouldSmoothFonts, FontAntialiasing, InterpolationQuality. One or several of them should do the trick.
I tried putting a sample on drop box but I can’t get it to display here… I stored it as a png and strangely when it is displayed in the browser the text is smaller looks a LOT better than it does in the app even if I blow it up a bit!!
Autocorrect strikes again! At least it makes typos amusing sometimes! '
I did not realize it had done that and at first I had no idea what you meant until I went back and looked.
The IDE looked fine and the labels on the window in my app looked a lot better than the text I drew… But I now think it was due to a bad assumption on my part… I’ll know for sure when I can get back on the retina machine.