Overview
Artifact ID: | e7f344637c90b5fba01d1a19615bc2a178d612fc |
---|---|
Ticket: | 72e9ddba21cbe29738a284fd23756cb055a630f4
text: textDisp-3.1 : font agnostic |
User & Date: | bll 2017-07-05 04:09:55 |
Changes
- icomment:
The results from Mac OS X. The big (fixed font) character width is 15, but Mac OS X returns 14 for the width for the bbox. The dlineinfo data is also off by two pixels. Not sure what's going on here. ---- textDisp-3.1 start ==== textDisp-3.1 different character sizes FAILED ==== Contents of test case: .t configure -wrap word .t delete 1.0 end .t insert end "Some sample text, including both large\n" .t insert end "characters and\nsmall\n" .t insert end "abc\nd\ne\nfghij" .t tag add bigfix 1.5 1.10 .t tag add bigfix 2.11 2.14 list [.t bbox 1.1] [.t bbox 1.6] [.t dlineinfo 1.0] [.t dlineinfo 3.0] ---- Result was: {12 15 7 14} {55 5 14 27} {5 5 122 27 20} {5 87 35 14 10} ---- Result should have been (exact matching): {12 15 7 14} {55 5 15 27} {5 5 124 27 20} {5 87 35 14 10}
- login: "bll"
- mimetype: "text/plain"