[Libreoffice-bugs] [Bug 53245] New: Bad Graphite ligature handling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 8 15:35:14 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53245

             Bug #: 53245
           Summary: Bad Graphite ligature handling
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.6.0.4
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: nemeth at numbertext.org


Created attachment 65286
  --> https://bugs.freedesktop.org/attachment.cgi?id=65286
Test file (its text displayed as "Thhittt" in LibO 3.6, and "Thitt" in LibO
3.4.2

The attached file contains the text "Thitt" formatted by the Graphite font
Linux Libertine G, but displayed as "Thhittt" in Writer 3.6. It seems, it is a
regression in the Graphite ligature handling, because "Thitt" has been
displayed by LibO 3.4.2 correctly.

Examining the content.xml, there are some character formatting boundaries here,
with explicit style definitions:

<text:p text:style-name="P1"><text:span
text:style-name="T1">T</text:span>hit<text:span
text:style-name="T1">t</text:span></text:p></text:p>

Testing (part of the original bug report from Kim Bastin:

"Running LibreOffice 3.6.0 rc4 under WinXP SP3, with fonts Linux Libertine G
and Linux Biolinum G, I see the following problem affecting ligatures:

In Writer, type

        hat

Save the file (this is essential)! Place cursor before h and type T. I get

        Thhat

(Note Th is a ligature.)

Type hat again, save file, place cursor before t and type f. I get

raftt.

(Note ft is a ligature.)

Type

        file

Save, then place cursor before f and type f.

        ffifile

(!!). (ffi and fi are ligatures.)

The bug only occurs with characters that were typed before the file was last
saved.

The extra characters are not ‘real’: if you delete one h in Thhat, both h’s
disappear. So it’s a display bug, but a persistent one: if you close the file,
close Writer, relaunch Writer and open the file again, the ‘ghost’ letters
still appear."

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list