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

--- Comment #3 from Shriramana Sharma <samj...@gmail.com> ---
Created attachment 93258
  --> https://bugs.freedesktop.org/attachment.cgi?id=93258&action=edit
Results of testing on LibO 4.2 release

I have tested this bug with the recent LibO 4.2 release. The behaviour has
somewhat changed. There is no more doubling of the candrabindu as earlier
reported. However, the character is being spaced in many cases and disappears
in some cases.

It is true that the relevant glyph in the font has a non-zero advance width.
However as per native Graphite behaviour as seen via HarfBuzz NG and XeTeX, an
attached+positioned glyph should lose any advancewidth it is given in the font
-- at least that is what I have understood/assumed so far from the behaviour
observed via HBNG/Gr and XeTeX, though whether that is appropriate is open to
debate.

So I even tried removing the advancewidth of the candrabindu (i.e. making it
zero) but even then the spacing persists.

And even this does not explain why the glyph disappears in some of the cases...

Should the bug summary be updated since the behaviour has changed?

I am somehow guessing that when shaping a text run which involves a Graphite
font, LibO is making some assumptions about the spacing, combining or other
properties of the characters instead of simply passing the encoded string and
the font information to the Graphite library and following the output glyph
order and positions. 

In the case of OpenType, perhaps it is necessary for the application calling
the shaping library to make such assumptions, but all bets are off when it
comes to Graphite since for taking care of minority and unusual orthographic
requirements, Graphite font programmers ask for non-standard spacing and other
such behaviour. 

So at least when it comes to Gr, LibO should not make any assumptions about
character properties and just send in the text plus font info and render as
Graphite tells. It would seem that this is what XeTeX does, and we (users of
rare orthographies) are happy with that.

-- 
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