Bug 7450

Summary: [kerning] "Te", "To", "Tc" etc. are too close
Product: DejaVu Reporter: drago01
Component: SansAssignee: Denis Jacquerye <moyogo>
Status: ASSIGNED --- QA Contact:
Severity: minor    
Priority: high CC: bugs.libreoffice.11.2013, freedesktop, JBoncek, keenanpepper, kjh, nicolas.mailhot, shausman, Ulrich.Windl
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: image shows the bug
widening T+ short lowercase kerning pair
testing kerning before 6322 (last 2 lines are Bitstream Vera Sans)
testing kerning with 6322 (last 2 lines are Bitstream Vera Sans)
qt4 vs pango at tiny sizes

Description drago01 2006-07-06 23:07:17 UTC
Hello after some starting issues I am now using dejaVu as my default font but I
have found an other issues.
The T and e are to close (allmost no spacing at all) see attachment.
Comment 1 drago01 2006-07-06 23:08:17 UTC
Created attachment 6156 [details]
image shows the bug
Comment 2 Nicolas Mailhot 2006-07-07 03:08:55 UTC
On Wed, 05 Jul 2006 22:07:42 -0400, Joe Smith wrote:

> much prefer the original default face that came with Fedora 5
> (Luxi?). My eyesight is not what it used to be and I find the Dejavu
> fonts very much less readable (seems mostly spacing issues: too
> "cramped" too "lumpy"). Sorry I can't be any more specific.
Comment 3 Nicolas Mailhot 2006-07-07 03:09:39 UTC
Ralf Ertzinger wrote:

One occassion where I noted this is the combination of T with a
smaller letter following (Ta or To, for example). The smaller letter
is very close to the T. I used Vera before, and it hat no such
issue.
Comment 4 Nicolas Mailhot 2006-07-07 03:11:56 UTC
I wrote and Ben Laenen replied

> + a few people find some letters are too close compared with vera. I
> mostly agree with them and I seem to remember the problem was
> discussed before on the list, with some agreement the new layout is
> too tight. Is it worth something if I make them list all the problem
> letter combos ? (the usual Ta  To, Fi, Af) ?

this is a known issue, and it will be addressed in future. Maybe when 
Denis will transform the kern pairs into kern classes.
Comment 5 Nicolas Mailhot 2006-07-09 13:45:12 UTC
*** Bug 7425 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Mailhot 2006-07-18 08:02:56 UTC
De:       "Steven Stern" <subscribed-lists at sterndata dot com>

Also, as I type the word "monospace", the "m" touches the "o".
Comment 7 Matthias Clasen 2006-07-23 18:58:20 UTC
I think this is a serious issue and should be addressed with priority, not
"sometime in the future". It is a bit disappointing to find such obvious 
issues in a font for which you made heavy propaganda to become the default
in Fedora...
Comment 8 Denis Jacquerye 2006-07-24 02:52:00 UTC
Created attachment 6322 [details] [review]
widening T+ short lowercase kerning pair

Here's a patch that tries to fix the kerning by dividing the kerning values for
pairs Ta, Tc, Te, To, Ts, Tw, Ty by half and setting kerning value of Ti to
zero.

Let me know if this is good.
Comment 9 Denis Jacquerye 2006-07-24 03:00:01 UTC
Keenan, do you think we should adjust the kerning pairs of V?
Comment 10 Denis Jacquerye 2006-07-24 07:56:43 UTC
Created attachment 6324 [details]
testing kerning before 6322 (last 2 lines are Bitstream Vera Sans)

Screenshot testing kerning with current DejaVu Sans Book, last 2 lines are
Bitstream Vera Sans
Comment 11 Denis Jacquerye 2006-07-24 07:57:34 UTC
Created attachment 6325 [details]
testing kerning with 6322 (last 2 lines are Bitstream Vera Sans)

Screenshot testing kerning with modified DejaVu Sans Book, last 2 lines are
Bitstream Vera Sans
Comment 12 Denis Jacquerye 2006-07-24 08:54:18 UTC
Created attachment 6326 [details]
qt4 vs pango at tiny sizes

weird, I get different results in Gedit (pango) or Textedit (qt4)
Comment 13 Behdad Esfahbod 2006-07-24 10:45:15 UTC
Denis, we had the overkerning issue previously too, right? And DejaVu worked
around it.  I'll see if I can fix it in Pango, but it may not be as quick fix as
needed to get into Pango 1.14.
Comment 14 Ben Laenen 2006-07-24 13:26:09 UTC
Denis, I have the exact same result with Qt4 as with Pango (including the T 
and e touching each other in the small size from your last screenshot 6326).

Behdad, this isn't the Pango overkerning bug that was a severe problem several 
months ago. This is about the kerning defined in DejaVu, which is too tight.
Comment 15 Behdad Esfahbod 2006-07-24 14:37:21 UTC
Ah ok.  The last attachment looked so bad that I assumed it's exposing the
overkerning problem in Pango.
Comment 16 Denis Jacquerye 2006-08-22 01:55:29 UTC
*** Bug 7926 has been marked as a duplicate of this bug. ***
Comment 17 John Boncek 2008-06-30 13:25:15 UTC
The Hardware field for this bug should probably be "All".  I'm seeing this on an ARM-architecture embedded machine using DejaVu Sans version 2.25.
Comment 18 John Boncek 2008-06-30 14:54:49 UTC
For what it's worth, I turned off hinting and autohinting at all sizes, and the issue is visibly better, though still not perfect.
Comment 19 Ulrich Windl 2014-01-16 14:03:11 UTC
On comment #8: Please also consider "T." (like in "The name is MFT. If you ...")

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.