|
2026-09-24
| ||
| 18:58 | • Closed ticket [1171961f]: "font measure" parsed incorrectly plus 4 other changes artifact: 88593696 user: serhiy.storchaka | |
|
2020-09-08
| ||
| 08:42 | • New ticket [2a6d63b9] OS X Aqua: ttk::menubutton widget crashes when app is put in the background. artifact: 784a5a03 user: anonymous | |
|
2007-11-27
| ||
| 02:38 | • Closed ticket [1833775f]: font measure error when text starts like -displayof plus 7 other changes artifact: de8c0ed6 user: patthoyts | |
|
2007-11-17
| ||
| 20:41 | • New ticket [1833775f]. artifact: b031483c user: mpc_janssen | |
| Ticket UUID: | 1833775 | |||
| Title: | font measure error when text starts like -displayof | |||
| Type: | Bug | Version: | None | |
| Submitter: | mpc_janssen | Created on: | 2007-11-17 20:41:59 | |
| Subsystem: | 44. Generic Fonts | Assigned To: | hobbs | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2007-11-27 02:38:32 | |
| Resolution: | Fixed | Closed By: | patthoyts | |
| Closed on: | 2007-11-26 19:38:32 | |||
| Description: |
Observed by KaKaRoTo on Tcl Chat
Font measure will give an error if -displayof is not specified and the text is a substring of displayof.
% font measure Courier "-d"
value for "-displayof" missing
If objc==4 the displayof value should not be checked. This can be fixed by the following change in tkFont.c
diff tkFont.c tkFont.c.orig
724,727c724
< skip = 0 ;
< if (objc==6) {
< skip = TkGetDisplayOf(interp, objc - 3, objv + 3, &tkwin);
< }
---
> skip = TkGetDisplayOf(interp, objc - 3, objv + 3, &tkwin);
| |||
| User Comments: |
patthoyts added on 2007-11-27 02:38:32:
Logged In: YES user_id=202636 Originator: NO Fixed in 8.5b3 | |||
