Tk Source Code

View Ticket
Login
Ticket UUID: 3598814
Title: Invalid kern table error for 'font metrics'
Type: Bug Version: None
Submitter: tandrews Created on: 2012-12-29 03:00:54
Subsystem: 45. Aqua Fonts Assigned To: wordtech
Priority: 5 Medium Severity:
Status: Open Last Modified: 2013-01-03 08:59:27
Resolution: Invalid Closed By:
    Closed on:
Description:
Mac OS X 10.7.5 and 10.8.2

If you have the Microsoft Word 2011 font called "Bauhaus 93" and you execute this script:

     foreach family [lsort -dictionary [font families]] {
     font create TempFont -family ${family}
     if {[font metrics TempFont -fixed]} {
        puts $family
     }
     font delete TempFont
     }

You will get this error:

     2012-12-28 18:30:53.879 Wish[18563:507] CoreText: Invalid 'kern' Table In CTFont <name: Bauhaus93, size: 13.000000, matrix: 0x0>
     CTFontDescriptor <attributes: <CFBasicHash 0x4001ffca0 [0x7fff7bed1fa0]>{type = mutable dict, count = 1, entries =>
     2 : <CFString 0x7fff7c552b38 [0x7fff7bed1fa0]>{contents = "NSFontNameAttribute"} = <CFString 0x400946f00 [0x7fff7bed1fa0]>
     {contents = "Bauhaus93"}}>

tk/wish appears to be version 8.5 based on this line in /usr/bin/wish:

     "$(dirname $0)/../../System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish" "$@"
User Comments: wordtech added on 2013-01-03 08:59:27:
Seems to be a font problem rather than a Tk problem. Other apps report issues with this font, cf. http://www.marinersoftware.deskpro.com/kb/articles/255-i-see-a-bunch-of-entries-in-my-console-related-to-mariner-write-why.