[[ Bug 13196 ]] Make sure the compose cursor offset is reset when composition finishes / changes.
[[ Bug 13220 ]] Make sure we give Cairo a minimal path - if lineTo is followed by close and lineTo target is original moveTo of subpath, then ignore the last lineTo.
Merge branch 'bugfix-13220' into develop
Merge branch 'bugfix-13196' into develop