From: Jeff H. <je...@ac...> - 2013-03-21 18:02:17
|
On 2013-03-21, at 6:33 AM, Kevin Walzer <kw...@co...> wrote: > On 3/19/13 11:18 AM, Jeff Hobbs wrote: >> >> FWIW I have an rMBP and Tk does look somewhat pixelated. I suppose the >> icons might also be pixelated, but you don't notice it as much. I've >> attached a TDK screenshot where you can see some of this. > > The text can be made Retina-friendly with a new key in the app's Info.plist file: > > <key>NSHighResolutionCapable</key> > <true/> > > CoreText provides the HiDPI hooks out of the box. I've seen that trick, but it does not work on TDK apps from my experience (which have an Info.plit for tclapp.app, but also call out to tdkbase.app). I've modified both to no avail, even forcing the rebuild of the Info.plist cache (via renaming). > A related technical question: my theory that the tk::mac::iconBitmap command is the way to go is untested, but it provides direct access to the NSImage API's that are in effect here. Standard Tk images do not. However, I noticed that TkImg at some point added support for multi-file TIF images in a single file--does anyone have experience with that? Not me. Jeff |