GNOME Bugzilla – Bug 336540
Kerning wrong for some fonts
Last modified: 2006-03-30 02:05:02 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
Created attachment 62325 [details] ruby script You'll need libpango1-ruby
Created attachment 62326 [details] output of label2.rb
Created attachment 62327 [details] SVG made with inkscape
Created attachment 62328 [details] screenshot of inkscape
Created attachment 62329 [details] SVG converted to PNG with rsvg
BTW: fontconfig version is 2.3.2-5
Is the Arial font you are talking about an OpenType font or oldschool TrueType?
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 ***