Public bug reported:

FTSimpleLayout doesn't handle consecutive \n properly. Rendering the
string "foo\n\nfoo\nfoo" will result in:

foo
?foo?foo
foo
foo

The problem seems to be breakCharCount being -1 in this case, and
OutputWrapped treats len < 0 as a request to render the rest of the
string.

** Affects: ftgl (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch"
   
https://bugs.launchpad.net/bugs/1351787/+attachment/4168449/+files/0001-Fix-for-incorrect-handling-of-empty-lines-in-FTSimpl.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1351787

Title:
  Incorrect formatting for consecutive newlines with FTSimpleLayout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ftgl/+bug/1351787/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to