Changes between Initial Version and Version 1 of Ticket #138, comment 2


Ignore:
Timestamp:
May 11, 2017, 7:18:11 AM (7 years ago)
Author:
jan vrany

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #138, comment 2

    initial v1  
    22
    33So, 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.
    55
    66Still, in provided testcase this conversion takes a lot of a time so we may need to optimize more: