GNOME Bugzilla – Bug 327163
Indic glyphs are misalign to some roman glyphs
Last modified: 2018-05-22 12:14:16 UTC
Please describe the problem: Indic glyphs are misalign to some roman glyphs after indic have been resized. Please see the attachment for the sample. It seems related to either freetype, pango, or the font. Steps to reproduce: 1. LANG=hi_IN.UTF-8 evolution 2. new mail 3. Actual results: different translations is misaligned to each other Expected results: should be aligned Does this happen every time? YES Other information: screenshot can be found here: <https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=106314>
The problem seen here is missing baseline alignment. The indic and latin fonts have wildly different ascent/descent, thus their baselines don't line up very well without explicit baseline alignment, which GTK+ does not currently do.
To do this well, you may need not just straightforward baseline alignment, but baseline adjustments for different scripts (see http://www.microsoft.com/typography/otspec/base.htm)
Owen, do you think it would be reasonable to do this with an "extended geometry management" interface, where containers can ask their children about a baseline they want to be aligned on ? It would probably only be relevant for labels or widgets whose "main" child is a label, like buttons.
moving this to pango
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/35.