GNOME Bugzilla – Bug 762386
Ü and ü seem to have zero width, following character overlaps
Last modified: 2016-02-22 17:00:41 UTC
Created attachment 321749 [details] Demonstrating the Cantarell issue with Ü and ü Using cantarell-fonts 0.0.22 on Arch Linux, the characters Ü and ü get rendered incorectly. They seem to have zero width, and the following character overlaps the Ü or ü. The attached animation illustrates the issue. It show how I try typing "über" and "Über". The issue is independent of the software used, I see it all over the Gnome UI and inside applications. I have not experienced the issue with earlier versions of cantarell.
I did not mention it, but of course I tested the issue with different fonts, but only Cantarell shows this bug. The issue is also reported by another user on https://bugs.archlinux.org/task/48275?project=1&cat[0]=2&string=cantarell-fonts
I have the same issues on Arch Linux, but in my case with the letters 'å' and 'Å'.
Yes, I can reproduce this with 'å' and 'Å'. ÖöÄä are not affected.
Damn. I thought I fixed that bug. Will do something about it tomorrow, can't right now.
I need more info, because I can't reproduce it here and a casual look at the offending glyphs doesn't reveal anything obvious. Can you check the font by dragging it onto https://vernnobile.github.io/webfont-testing/? And by using the font files from 0.0.21? https://git.gnome.org/browse/cantarell-fonts/tree/otf?id=75179644c84280d716d32499a4afda609a65af20
Alright, can reproduce with libharfbuzz 1.2.0. The changelog says a few things about mark-to-mark attachments, which the affected glyphs happen to have. Trying to figure out what I have to do...
I think I found the problem. Fix incoming soon.
Thanks for looking into this. I can confirm, that this is related to harfbuzz 1.2.0, downgrading harfbuzz fixes the display. Also with harfbuzz 1.2.0 cantarell 0.0.21 also shows this behavior, so the initial notion that it is related to the cantarell 0.0.22 was wrong, I just happened to update both packages at the same time. Just because I don't understand the technical font internals: Is this indeed an issue with cantarell, that just was not visible before, or should this also be reported to harfbuzz as a bug?
Yes, it is a font technicality. I was trying to be clever/work around a FontForge shortcoming and accidentally violated an OpenType spec assumption. The new harfbuzz version just made the bug visible. I already reported it :)
Please test with the .otfs from https://git.gnome.org/browse/cantarell-fonts/tree/otf.
*** Bug 762401 has been marked as a duplicate of this bug. ***
*** Bug 762369 has been marked as a duplicate of this bug. ***
Two people reported success and it works for me now. New release soon.
I, too, can confirm this fixes the issue, tested with å, Å, ü, Ü, â, Â, ê, Ê, ô, Ô
Fix is in 0.0.23.