Description: Text that has both increased character spacing and ligatures will have faulty justification, caret positioning, spell-check underlining etc. Basically, justification, caret positioning or spell-check underlining behave as if the text had no ligatures. This looks to me as if all these operations were applied before the ligatures when it should really be the other way around. Steps to Reproduce: 1. Type text with potential ligatures (like "fi" etc.) 2. Choose a font with these ligatures (e.g. "FreeSerif" or "Linux Libertine"). 3. Increase character spacing ("Character..." dialog, "Position" tab, positive value in "Spacing", e.g. "5.0 pt") 4. Make sure that the ligatures are still displayed if necessary (e.g. by using a zero-width joiner or by explicitly setting "FreeSerif:liga=1") Actual Results: After a word with a ligature, things are positioned further right as if the word had not been shortened by the ligature: * The caret is further right than where new characters are typed. * Line justification will cut off the line before it reaches full width. * Spell-check underlinings are shifted right and take up more place than the word length. Expected Results: * The caret should be where new characters are typed. * Line justification should reach full line width. * Spell-check underlinings should be under the word. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: This bug is not about the default behaviour of ligatures when character spacing is increased. Whether or not increasing the character spacing disables ligatures (as it should, see bug 93033), we can still choose to have increased character spacing with ligatures, e.g. by setting "liga=1" or by using a zero-width joiner. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Created attachment 138485 [details] example paragraphs with _iifiii_.odt
Created attachment 138486 [details] example paragraphs with _iifiii_.png (Screenshot)
Confirmed on Windows 10 Home 64-bit en-US with Version: 5.4.4.1 (x64) Build ID: da790616461e15a10c95a80eb8ef8ee7b726c114 CPU threads: 4; OS: Windows 6.19; UI render: GL; Locale: en-US (en_US); Calc: group and with Version: 6.1.0.0.alpha0+ (x64) Build ID: 77adb770164fd703a31d8e828d777a4f827a5407 CPU threads: 4; OS: Windows 10.0; UI render: GL; TinderBox: Win-x86_64@42, Branch:master, Time: 2017-12-17_03:10:29 Locale: en-US (en_US); Calc: group threaded Toggle the Control Markings (<Ctrl>+F10) active. In paragraphs with liga=1 set, while text is composed with the ligatures--the word boudry markings, and the misspelling markings as noted, are not adjusted to match text layout.
*** This bug has been marked as a duplicate of bug 105913 ***