Tk Source Code

View Ticket
Login
Ticket UUID: 46468f85acedbf09a58c0a44a454b13e373acd04
Title: windows: font display issue
Type: Bug Version: 8.6.8
Submitter: bll Created on: 2018-03-09 20:44:18
Subsystem: 47. Win Fonts Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2018-03-13 21:45:35
Resolution: Invalid Closed By: bll
    Closed on: 2018-03-13 21:45:35
Description:
It is unknown whether this is a Tk bug or a Windows bug.

The glyphs display with different sizes running with the two different
programs.  Only the character order is different.

Tested on Windows 7.

# a.tcl
package require Tk
font create n
font configure n -size 30
ttk::label .x -text "\u2B08\u2B05" -font n
grid .x

# b.tcl
package require Tk
font create n
font configure n -size 30
ttk::label .x -text "\u2B05\u2B08" -font n
grid .x
User Comments: bll added on 2018-03-13 21:45:35:
Closing as invalid.

This appears to most likely be a windows font issue.

It can be re-opened if anyone else runs into this.

bll added on 2018-03-11 16:08:26:
win 7, 32 bit, pristine, fully upgraded:
   Does not have the font for the angled arrow, 
   displays an unknown character box, 
   no sizing issues.
win 8.1, 64 bit, pristine, fully upgraded:
   Normal display.
win 8.1, 32 bit, pristine, fully upgraded:
   Normal display.
win vista ultimate, 64 bit, pristine, fully upgraded:
   (tcl 8.6.6) Both characters display as boxes.
   (tcl 8.6.8) Both characters display as boxes.
win xp pro, 32 bit, pristine:
   Both characters display as boxes.

The win 7 64 bit VM is what I would call mostly clean -- not much has been 
done to it, but various different packages have been installed.  It looks like
I may have installed various fonts, but it was quite a while ago.  Those
fonts may need an update.

It appears I installed the droid fonts, the windows fonts and the noto fonts.

fvogel added on 2018-03-11 07:46:52:
I have added a snapshot of what I get on my Win 7 box. No bug for me: the two chars render identically whatever their order is.

bll added on 2018-03-10 07:44:03:
Right.  I suspect this is a windows font issue.
I could only find one report on the internet for a similar issue and it was related to windows fonts.

I was trying to duplicate this report:
   https://groups.google.com/forum/#!topic/comp.lang.tcl/J25jawjYOtg
I'll have to try it on Windows 10 when I have time.

fvogel added on 2018-03-09 22:05:16:
No display bug for me on Vista. See attachment.

Attachments: