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

          Priority: medium
            Bug ID: 58922
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: OT layout engine: problem with combining glyph +
                    zero-width-mark + glyph
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: elie.r...@telecom-bretagne.eu
          Hardware: Other
            Status: UNCONFIRMED
           Version: 3.6.4.3 release
         Component: Writer
           Product: LibreOffice

Created attachment 72363
  --> https://bugs.freedesktop.org/attachment.cgi?id=72363&action=edit
Font showing the bug

When using writer if I type the text གཚོའི་ཁིའུ་ using the attached font
TestLig.ttf, I can see a buggy result (I'll attach the result in a later note),
with an enormous space between the two syllables. The correct result is
basically the same but without the space, I'll attach a correct result also in
a later note.

This bug comes from a quite rare use case in the layout engine: the font
contains in a ccmp table (lookup 2) the ligature: uni0F7C(ོ) uni0F60(འ)
uni0F72(ི) -> uni0F7Cuni0F60uni0F72 : the first is zero-width mark apllying to
a glyph (in my example ཚ), and the second is not (the third doesn't really
matter here), the result is thus a non-zero-width mark... Some OT layout
engines also have difficulties with this case:
 - ConTeXt/LuaTeX had the same bug but I reported it and it's now fixed
 - on Debian stable, the layout engine behind gedit has it too
 - harfbuzz seems to handle it correctly.

Please tell me if I can provide more information or if I should report it to
some other place (ICU ?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to