Summary: | 0310 COMBINING CANDRABINDU double-rendered in Graphite font | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Shriramana Sharma <samjnaa> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | caolanm, jmadero.dev, martin_hosken, mst.fdo |
Version: | 3.6.2.2 release | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Test material to reproduce and test the bug
Results of testing on LibO 4.2 release |
Description
Shriramana Sharma
2012-07-27 09:31:39 UTC
Confirmed, I think we have quite a few issues with Indian languages as I've seen this with Telugu as well. Changing: Version - 3.6.3.2, I have confirmed that the problem exists at least to this point, probably indefinitely into the past New (Confirmed) Major (prevents entire languages from being used correctly in LibO) High (default for major) This bug really makes it so entire populations cannot use LibreOffice efficiently or effectively. Hopefully someone tackles this one Related: https://bugs.freedesktop.org/show_bug.cgi?id=48303 I closed that one but maybe it should be reopened - need independent confirmation Bug persists as of LibO 4.1.1.2 installed from DEBs on Kubuntu Precise. Created attachment 93258 [details]
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.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.