Bug 94228 - [Regression] Harfbuzz 1.2.0 - Missing space after å in gnome-shell overlay dialogs
Summary: [Regression] Harfbuzz 1.2.0 - Missing space after å in gnome-shell overlay di...
Status: RESOLVED NOTOURBUG
Alias: None
Product: HarfBuzz
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-20 10:41 UTC by Bjørn Lie
Modified: 2016-02-21 19:16 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Wrong rendering / missing space 1.2.0 (474.42 KB, image/png)
2016-02-20 10:41 UTC, Bjørn Lie
Details
OK rendering with harfbuzz 1.1.3 (521.17 KB, image/png)
2016-02-20 10:41 UTC, Bjørn Lie
Details
cantarell font in use - version 0.0.20 (187.99 KB, application/gzip)
2016-02-20 11:28 UTC, Bjørn Lie
Details

Description Bjørn Lie 2016-02-20 10:41:09 UTC
Created attachment 121856 [details]
Wrong rendering / missing space 1.2.0

Harfbuzz 1.2.0 - Missing space after å in gnome-shell overlay dialogs

Please see screenshots I will attach.
As far as I was able to see it was only affecting the Scandinavian letter å (Å)

Reverting to harfbuzz 1.1.3 fixes the issue.
This is with gnome-shell/mutter 3.19.90

Tested on 2 different machines (one with Nvidia binary driver, and one intel haswell).
Comment 1 Bjørn Lie 2016-02-20 10:41:49 UTC
Created attachment 121857 [details]
OK rendering with harfbuzz 1.1.3
Comment 2 Behdad Esfahbod 2016-02-20 10:48:27 UTC
Can you attach the font in question please?  Is it Cantarell?
Comment 3 Bjørn Lie 2016-02-20 11:04:02 UTC
Yes on the screenshots it's cantarell (but on the other machine I tested on there is Adobe Source Sans Pro in use).

See also bug filed by someone else at gnome

https://bugzilla.gnome.org/show_bug.cgi?id=762369

Same seems to be happening for German
Comment 4 Bjørn Lie 2016-02-20 11:28:21 UTC
Created attachment 121858 [details]
cantarell font in use - version 0.0.20

Fontconfig for cantarell 

bjolie@haldis:~> cat /usr/share/cantarell-fonts/conf.avail/31-cantarell.conf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!--

     Define aliasing and other fontconfig settings for Cantarell.

-->
<fontconfig>
  <!-- Generic name assignment -->
  <match target="pattern">
    <test qual="any" name="family">
      <string>Cantarell</string>
    </test>
    <edit name="family" mode="assign" binding="weak">
      <string>Cantarell</string>
    </edit>
  </match>
</fontconfig>
Comment 5 Bjørn Lie 2016-02-20 13:35:18 UTC
(In reply to Bjørn Lie from comment #3)
> Yes on the screenshots it's cantarell (but on the other machine I tested on
> there is Adobe Source Sans Pro in use).

Err.. Sorry!

It's the other way around, the screenshots are from the machine with Adobe Source Sans Pro, but in any case, I had the same on the box with Cantarell, so I doubt what font is use is of importance.
Comment 6 Behdad Esfahbod 2016-02-20 13:36:54 UTC
It's not possible that the font used is not important :).  I'll check when I get to my laptop.
Comment 7 Bjørn Lie 2016-02-20 20:28:35 UTC
(In reply to Behdad Esfahbod from comment #6)
> It's not possible that the font used is not important :).  I'll check when I
> get to my laptop.

Let me rephrase then: I can reproduce it with both Cantarell and Source Sans Pro.

(off topic for this bug: I get no email notifications from here for some reason :-/  - so my response time will be off ).
Comment 8 madigens 2016-02-21 13:21:59 UTC
https://github.com/behdad/harfbuzz/issues/228 :)
Comment 9 Behdad Esfahbod 2016-02-21 14:03:32 UTC
I tested your version of the font, and it's definitely a font bug.  Glyphs that are not marks have glyph class 3 in GDEF.  That's the cause of this bug.  Uniscribe renders them the same as well.
Comment 10 Behdad Esfahbod 2016-02-21 14:08:06 UTC
Upstreamed: https://bugzilla.gnome.org/enter_bug.cgi?product=cantarell-fonts
Comment 11 madigens 2016-02-21 19:16:37 UTC
Please test with the official .otfs from https://git.gnome.org/browse/cantarell-fonts/tree/otf and report bugs at https://bugzilla.gnome.org/show_bug.cgi?id=762386.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.