| 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 | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki