https://bugs.documentfoundation.org/show_bug.cgi?id=169168
László Németh <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Assignee|[email protected] |[email protected] | |desktop.org --- Comment #6 from László Németh <[email protected]> --- Commit description: tdf#169168 sw letter spacing: extend it for multiportion lines Enable custom letter spacing and glyph scaling for multiportion lines, i.e. lines with emphasized and underlined words, or lines hyphenated automatically or with soft hyphen etc. For this, width of the text portions are modified temporarily according to the actual available blank space of the lines at processing the last text portion. Depending on the filling of the text line with text portions during line breaking, portion width data are changed back and forth. Note: Letter spacing and scaling data are stored in SwLineLayout instead of SwTextPortion. Other fixes and changes: – itrcrsr.cxx: text cursor position follows the custom letter spacing and custom glyph scaling applied in the line; – itradj.cxx: at letter spacing, the enlarged blank space is removed after the last letter in the line, fixing jittering of the right side of the lines. – guess.cxx: fix crashing during typing before a terminating text portion; – portxt.cxx: fix bad letter spacing, when the line contains zero width characters (soft hyphen, zero-width space etc.); – testTdf168351: extend test document, because compression is not applied in the last line any more. Note: this is likely not a problem (in fact, it's the opposite, because filling the last line completely can destroy the clear separation of the paragraphs, especially without first line indent). – testTdf168251 and testTdf168448: adjust the tests according to the fixed line breaking. -- You are receiving this mail because: You are the assignee for the bug.
