This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients amaury.forgeotdarc, loewis, vbr
Date 2008-11-08.12:15:39
SpamBayes Score 4.7209583e-09
Marked as misclassified No
Message-id <1226146542.99.0.131028102938.issue4281@psf.upfronthosting.co.za>
In-reply-to
Content
On my system, a square box is drawn indeed.

First, I would like to confirm that this is not a bug in Python. Can you
please install Tcl 8.5 separately, run wish, and execute

   label .l -text "\u1e9e"
   pack .l

IIUC, Tk will try to find a font that contains the character. First,
there is a list of fallback fonts per family. If none supports the
character, there is a global fallback list. If the character is still
not found, it will enumerate all fonts in the system, and invokes
GetFontData, asking for the resource 0x636d6170 - this should give the
list of all characters supported in the font.

It would be useful to find out what specific font Tk has chosen.
Unfortunately, there seems to be no direct way to find out. In the
Tktest Tcl extension, there is a command "testfont subfonts <fontname>"
which you can use to find out what subfonts have been loaded; this might
give a clue what subfont was used.

If you are willing to recompile Tk, you can augment
tkWinFont.c:FindSubFontForChar to print a message when this specific
char gets looked up, and what the resulting subfont was.
History
Date User Action Args
2008-11-08 12:15:43loewissetrecipients: + loewis, amaury.forgeotdarc, vbr
2008-11-08 12:15:42loewissetmessageid: <1226146542.99.0.131028102938.issue4281@psf.upfronthosting.co.za>
2008-11-08 12:15:41loewislinkissue4281 messages
2008-11-08 12:15:39loewiscreate