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 648155 - Incorrect support for ligatures
Incorrect support for ligatures
Status: RESOLVED NOTGNOME
Product: pango
Classification: Platform
Component: general
1.28.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2011-04-18 21:16 UTC by Alexandre Prokoudine
Modified: 2011-05-02 19:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
illustration (18.72 KB, image/png)
2011-04-18 21:38 UTC, Alexandre Prokoudine
Details
lost ligature in inkscape (17.21 KB, image/png)
2011-04-18 21:48 UTC, Alexandre Prokoudine
Details

Description Alexandre Prokoudine 2011-04-18 21:16:00 UTC
Trying out new free/libre font called Lobster [1] that has cyrrillic ligatures, I've run into a horrible bug: typing in «ба» combination of letters in any Pango driven app like Inkscape and GIMP gives me «яч» combination instead of «ба» with a ligature between «б» and «а». I'm using Pango 1.28.0 from Ubuntu 10.04.

[1] http://www.google.com/webfonts/family?family=Lobster&subset=cyrillic#download
Comment 1 Behdad Esfahbod 2011-04-18 21:25:19 UTC
Screenshot???
Comment 2 Alexandre Prokoudine 2011-04-18 21:38:03 UTC
Created attachment 186237 [details]
illustration

Since you ask, here is a screenshot.

The right part is two letters that were typed in. The smaller left part is what it is rendered like.
Comment 3 Behdad Esfahbod 2011-04-18 21:40:29 UTC
Sounds like a bug in GoogleFonts subsetting the font.  I'm fairly sure we don't subset GSUB/GPOS tables, so they are supposed to be dropped.  If they are not, it's a bug.
Comment 4 Alexandre Prokoudine 2011-04-18 21:42:12 UTC
Just in case...

$ fontlint ~/Media/Fonts/Lobster.ttf 
Copyright (c) 2000-2010 by George Williams.
 Executable based on sources from 09:08 GMT 16-Jun-2010.
 Library based on sources from 03:43 GMT 29-Apr-2010.
The glyph named mu is mapped to U+00B5.
  But its name indicates it should be mapped to U+03BC.
Validation Lobster ...Passed
Comment 5 Alexandre Prokoudine 2011-04-18 21:48:14 UTC
Created attachment 186239 [details]
lost ligature in inkscape

And since it looks related to https://bugzilla.gnome.org/show_bug.cgi?id=648157, let me scare you even further. When I apply a different color to a letter in a word in Inkscape, the ligature gets lost.
Comment 6 Behdad Esfahbod 2011-04-18 21:49:50 UTC
That one is a Inkscape (and possibly Gtk) bug.  Pango handles that case correctly.
Comment 7 Alexandre Prokoudine 2011-05-02 19:32:07 UTC
The issue was confirmed by font's developer on a non-Linux system. I think you can safely close this report as WONTFIX :)