Diffusion Krita 3fb3824e436d

Fix rendering of the text with relative offsets

Authored by dkazakov on Mar 19 2018, 12:15 PM.

Description

Fix rendering of the text with relative offsets

  1. Relative offsets were calculated incorrectly: null offsets should not repeat itself, but define a new noop offset, which will be handled on a lower level
  1. Workaround QTextLayout "weirdness" that makes it skip the space characters and not include them into "horizontal advance" of the text chunk

BUG:391160

Details

Committed
remptMar 19 2018, 2:32 PM
Parents
R37:7aa7373e4935: Fix change from Action to QAction
Branches
Unknown
Tags
Unknown