On 05 Apr 2013, at 10:53, Manolo Gouy <manolo.g...@univ-lyon1.fr> wrote:
>> I just upgraded to a newer mac laptop, and discovered that fltk apps >> don't render in the new highres mode. It seems like it shouldn't be >> too hard for text at least, but I wasn't able to find an "enable high >> res" flag after a bit of looking at >> >> https://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Introduction/Introduction.html#//apple_ref/doc/uid/TP40012302-CH1-SW1 >> >> There is kWindowHighResolutionCapableAttribute but it's for Carbon. >> The implication seems to be that for Cocoa apps it should just work. >> Any of the more mac knowledgeable sorts know what's going on here, or >> should I keep poking through the apple docs? >> > > I have activated QuartzDebug, as suggested in the above-mentionned > web-page, to test high resolution without a retina display, > and discover that fltk graphics have jagged look everywhere. > What a delusion! > A very strange thing is that system-created windows (the "About > my prog", open/save and print dialogs) also have jagged graphics. > This suggests we miss some application-wide property. Adding <key>NSHighResolutionCapable</key><true/> in the app's Info.plist makes standard FLTK widgets/fonts draw fairly well (there are some small artifacts and "off-by-one" line drawings here and there, but nothing major). OpenGL windows are still drawn at half-resolution, though... Christophe > _______________________________________________ > fltk-dev mailing list > fltk-dev@easysw.com > http://lists.easysw.com/mailman/listinfo/fltk-dev -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev