[Libreoffice-bugs] [Bug 52577] New: Right-hand part of vowel signs disappear when reordering numeric diacritics in Graphite font
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 27 11:45:54 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=52577
Bug #: 52577
Summary: Right-hand part of vowel signs disappear when
reordering numeric diacritics in Graphite font
Classification: Unclassified
Product: LibreOffice
Version: 3.7.0.0.alpha0+ Master
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
AssignedTo: libreoffice-bugs at lists.freedesktop.org
ReportedBy: samjnaa at gmail.com
Created attachment 64769
--> https://bugs.freedesktop.org/attachment.cgi?id=64769
Test material to reproduce and test the bug
Please find attached a ZIP file with requisite test material. I've adapted the
Lohit Tamil font (https://fedorahosted.org/lohit/) to Graphite under the name
Krishna Tamil. (Note: I removed all OT tables.)
I've included the plain TTF without Graphite tables, the GDL and the compiled
Gr-Enabled TTF. Please install the Gr-Enabled font and open the ODT.
The sample text is very simple.
When transliterating other Indic scripts into Tamil, since Tamil does not have
the full series of class consonants KA KHA GA GHA NGA etc but only has the
first and last members, KA and NGA, one uses 1 2 3 and 4 in either superscript
or subscript form for the missing letters. (Actually 1 is rarely seen but is an
optional choice sometimes required.) The Unicode Standard recommends the usage
of (00B9 and) 00B2 00B3 2074 (and 2081-2084) for the same.
The traditional placement of the numerical diacritic is as close to the
consonant as possible, but in logical order it has to follow the full CONSONANT
+ VOWEL_SIGN combination. This means reordering in the cases where there is a
vowel sign (or part thereof) to the right of the consonant.
I find that in the case of 00B9 00B2 and 00B3, after reordering, the right hand
side vowel sign has been gobbled up. This problem is not seen for the 20xx
characters.
For comparison I've included the output of XeTeX (which uses Gr1) which shows
the correct rendering.
It is also not a Gr2 bug, since gr2fonttest from graphite 1.1.3 outputs:
<quote>
$ gr2fonttest -codes font-grenabled.ttf 0b95 0bbe 00b9
Text codes
b95 bbe b9
pos gid attach x y ins bw chars Unicode
00 65 -1 at 0,0 0.0 0.0 1 30 0 0 b95 b95
01 230 -1 at 0,0 7.7 0.0 1 30 2 2 b9 b9
02 88 -1 at 0,0 11.3 0.0 1 30 1 1 bbe bbe
Advance width = 17.6
Char Unicode Before After
0 0B95 0 0
1 0BBE 2 2
2 00B9 1 1
</quote>
showing that the reordering has been done and the second glyph should display.
Bug reproducible on LibO 3.5.3 release version on Kubuntu Precise, 3.5.4 on Win
XP, and yesterday's daily* of 3.7.0 on Win XP.
* =
http://dev-builds.libreoffice.org/daily/Win-x86@6/master/2012-07-26_02.09.47/master~2012-07-26_02.09.47_LibO-Dev_3.7.0.0.alpha0_Win_x86_install_en-US.msi
--
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