After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762386 - Ü and ü seem to have zero width, following character overlaps
Ü and ü seem to have zero width, following character overlaps
Status: RESOLVED FIXED
Product: cantarell-fonts
Classification: Core
Component: general
0.00022
Other Linux
: Normal normal
: ---
Assigned To: Cantarell fonts maintainer(s)
Cantarell fonts maintainer(s)
: 762369 762401 (view as bug list)
Depends on:
Blocks: 762369
 
 
Reported: 2016-02-20 21:09 UTC by Philipp Wolfer
Modified: 2016-02-22 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Demonstrating the Cantarell issue with Ü and ü (9.31 KB, image/gif)
2016-02-20 21:09 UTC, Philipp Wolfer
Details

Description Philipp Wolfer 2016-02-20 21:09:21 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.
Comment 1 Philipp Wolfer 2016-02-20 21:11:20 UTC
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
Comment 2 Jim Christian Haukvik 2016-02-20 21:14:50 UTC
I have the same issues on Arch Linux, but in my case with the letters 'å' and 'Å'.
Comment 3 Philipp Wolfer 2016-02-20 21:22:48 UTC
Yes, I can reproduce this with 'å' and 'Å'. ÖöÄä are not affected.
Comment 4 Nikolaus Waxweiler 2016-02-20 21:38:09 UTC
Damn. I thought I fixed that bug. Will do something about it tomorrow, can't right now.
Comment 5 Nikolaus Waxweiler 2016-02-21 11:42:36 UTC
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
Comment 6 Nikolaus Waxweiler 2016-02-21 12:05:03 UTC
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...
Comment 7 Nikolaus Waxweiler 2016-02-21 16:10:57 UTC
I think I found the problem. Fix incoming soon.
Comment 8 Philipp Wolfer 2016-02-21 16:22:35 UTC
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?
Comment 9 Nikolaus Waxweiler 2016-02-21 16:33:57 UTC
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 :)
Comment 10 Nikolaus Waxweiler 2016-02-21 19:18:39 UTC
Please test with the .otfs from https://git.gnome.org/browse/cantarell-fonts/tree/otf.
Comment 11 Nikolaus Waxweiler 2016-02-21 19:23:22 UTC
*** Bug 762401 has been marked as a duplicate of this bug. ***
Comment 12 Nikolaus Waxweiler 2016-02-21 21:36:41 UTC
*** Bug 762369 has been marked as a duplicate of this bug. ***
Comment 13 Nikolaus Waxweiler 2016-02-21 21:58:02 UTC
Two people reported success and it works for me now. New release soon.
Comment 14 Philipp Wolfer 2016-02-22 07:42:16 UTC
I, too, can confirm this fixes the issue, tested with å, Å, ü, Ü, â, Â, ê, Ê, ô, Ô
Comment 15 Nikolaus Waxweiler 2016-02-22 17:00:41 UTC
Fix is in 0.0.23.