tags:

views:

13

answers:

0

I have a pretty simple application using standard Cocoa controls, and I'm seeing this message several times in my Debugger Console in Xcode:

invalid `Widths' entry in font dictionary.

That is the whole line. There is no other information about where this came from or what it might mean or how to get rid of it. Google was no help in a search for the message.

I've grepped my project folder for "Widths" and "font" and weeded through the results with no candidates.

I tried setting a global breakpoint on NSLog() with a backtrace gdb command to see where it was coming from, but I got no output. (I'm admittedly a total noob with GDB, so I could have been doing something wrong there.)

I'm so lost that I'm not sure what other information might be relevant or helpful, so comment away and I'll be happy to provide additional data.

Update: It appears this is related to the way that one or more of the PDFs that I'm showing in my IKImageBrowserView is causing this message. Switching my IKImageBrowserView to use IKImageBrowserQuickLookPathRepresentationType rather than IKImageBrowserPathRepresentationType got rid of the message, but I'm not entirely sure why…