GNOME Bugzilla – Bug 704458
Accent printed on next letter with Liberation Mono font
Last modified: 2018-05-22 13:10:06 UTC
Description of problem: Output of gedit differs than pango-view Version-Release number of selected component (if applicable): gedit-3.8.3-1.fc19.x86_64 How reproducible: everytime Steps to Reproduce: 1. $printf "áe\n" >> out 2. $pango-view /usr/share/fonts/liberation/LiberationMono-Regular.ttf out 3. Now type same sequence in gedit, apply Liberation Mono fonts and observe the difference Actual results: acute is appearing on next character. Expected results: It should be on "a". Character composition not happening properly. a+ acute = aacute (U+00E1) Additional info: Pango and harfbuzz-ng doing this properly. But problem comes with gedit.
Thanks for the bug report. I reassign to pango. On my system: $ printf "áe\n" > out $ pango-view out $ pango-view --font="Liberation Mono" out $ pango-view --version pango-view (pango) 1.36.0 With the first pango-view command, the accent is on the 'a'. With the second pango-view command, the accent is on the 'e'.
Perhaps gedit is running against an older Pango?!
Created attachment 258407 [details] comparing pango-view, gedit, fontforge-view and hb-view While checking again now pango and gedit gives same output. But character composition is not happening as it is happening with hb-view. Liberation Mono does not have U+0301 but it does has U+E1. Presently in pango, if character is not present in fonts it is rendering it with fallback font that is Dejavu. i think hb-view is more intelligent as it looks like if character is not present it is checking for composition form and providing that in output. ./hb-shape /usr/share/fonts/liberation/LiberationMono-Regular.ttf "áe" [aacute=0+1229|e=2+1229]
You are correct.
-- 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/221.