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 336540 - Kerning wrong for some fonts
Kerning wrong for some fonts
Status: RESOLVED DUPLICATE of bug 336026
Product: pango
Classification: Platform
Component: general
1.12.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2006-03-29 20:51 UTC by Hadmut Danisch
Modified: 2006-03-30 02:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
ruby script (290 bytes, text/plain)
2006-03-29 20:52 UTC, Hadmut Danisch
Details
output of label2.rb (21.30 KB, image/png)
2006-03-29 20:54 UTC, Hadmut Danisch
Details
SVG made with inkscape (2.33 KB, text/plain)
2006-03-29 20:55 UTC, Hadmut Danisch
Details
screenshot of inkscape (45.77 KB, image/png)
2006-03-29 20:56 UTC, Hadmut Danisch
Details
SVG converted to PNG with rsvg (11.77 KB, image/png)
2006-03-29 20:57 UTC, Hadmut Danisch
Details

Description Hadmut Danisch 2006-03-29 20:51:03 UTC
Please describe the problem:
With some fonts the kerning is wrong/missing. (Debian sid system). 
E.g. with Sans=DejaVu-Sans the kerning is correct (!), while with e.g.
Microsoft's arial.ttf the kerning is wrong. 

The problem appears with inkscape, rsvg, gnome, libpango1-ruby,..., but not with
programs which use freetype directly, e.g. scribus or ftstring

Steps to reproduce:
install commercial ttf fonts, e.g. arial.ttf from Windows XP 

- use the attached ruby script with libpango1-ruby  or
- start inkscape, select arial and just enter "Test" in a text field

Actual results:
No kerning (or even inverse kerning): Bounding boxes of 'T' and 'e' are not
overlapping. (when using scribus or ftstring kerning is correct, so it is not an
issue of the font itself)

Expected results:


Does this happen every time?


Other information:
I'll attach test script and screenshot
Comment 1 Hadmut Danisch 2006-03-29 20:52:42 UTC
Created attachment 62325 [details]
ruby script

You'll need libpango1-ruby
Comment 2 Hadmut Danisch 2006-03-29 20:54:23 UTC
Created attachment 62326 [details]
output of label2.rb
Comment 3 Hadmut Danisch 2006-03-29 20:55:17 UTC
Created attachment 62327 [details]
SVG made with inkscape
Comment 4 Hadmut Danisch 2006-03-29 20:56:52 UTC
Created attachment 62328 [details]
screenshot of inkscape
Comment 5 Hadmut Danisch 2006-03-29 20:57:22 UTC
Created attachment 62329 [details]
SVG converted to PNG with rsvg
Comment 6 Hadmut Danisch 2006-03-29 21:12:41 UTC
BTW: fontconfig version is 2.3.2-5
Comment 7 Behdad Esfahbod 2006-03-30 02:02:10 UTC
Is the Arial font you are talking about an OpenType font or oldschool TrueType?
Comment 8 Behdad Esfahbod 2006-03-30 02:05:02 UTC
Probably a duplicate of 336026 anyway, but I'm still interested in knowing whether it's an OpenType font or not.  Please comment in the other bug when you know.

*** This bug has been marked as a duplicate of 336026 ***