Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange rendering of \u2B05 'LEFTWARDS BLACK ARROW' on Windows 10

33 views
Skip to first unread message

Torsten

unread,
Mar 9, 2018, 1:39:08 PM3/9/18
to
When character \u2B05 is used under Windows 10 Home 64, it is sometimes rendered with a box around it and sometimes not.
This can be controlled by using \u2B08 'NORTH EAST BLACK ARROW' or \u2B09 'NORTH WEST BLACK ARROW' before using \u2B05. It does not work with other arrows in that group, e.g. \u2B06 and \u2B07.

The two examples must be run in different interpreters!

Example 1: Use "\u2B08" and then "\u2B05" - rendered without a box around it

package require Tk
ttk::button .b1 -text "\u2B08"
ttk::button .b2 -text "\u2B05"; # <--- 2nd
grid .b1 -row 0 -column 0
grid .b2 -row 1 -column 0


Example 2: Use "\u2B05" and then "\u2B08" - now it appears boxed

package require Tk
ttk::button .b1 -text "\u2B05" ; # <--- 1st
ttk::button .b2 -text "\u2B08"
grid .b1 -row 0 -column 0
grid .b2 -row 1 -column 0


What's wrong here?

Brad Lanam

unread,
Mar 9, 2018, 3:57:51 PM3/9/18
to
I opened one ticket (there is a picture attached):

https://core.tcl.tk/tk/tktview/46468f85acedbf09a58c0a44a454b13e373acd04

It's not exactly what you are seeing, but a bug nonetheless.

When testing your program on Windows 7, the left arrow glyph is not rendered
correctly in the second button (probably due to the sizing issues).
0 new messages