Changes between Initial Version and Version 1 of Ticket #138, comment 2
- Timestamp:
- May 11, 2017, 7:18:11 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #138, comment 2
initial v1 2 2 3 3 So, in order to compute the width, original string have to be converted to UTF16 string. Current code converts whole original string, which takes very long. By more careful coding 4 (see [[attachment:WinWorkstation-widthOf:from:to:inFont:.st added|attached change]]) one can reduce the conversion to what is actually needed.4 (see attached change) one can reduce the conversion to what is actually needed. 5 5 6 6 Still, in provided testcase this conversion takes a lot of a time so we may need to optimize more: