Bug 21664 - DejaVu letter #119 (ę) has broken slight hinting
Summary: DejaVu letter #119 (ę) has broken slight hinting
Alias: None
Product: freetype
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Werner Lemberg
QA Contact:
Depends on:
Reported: 2009-05-10 14:01 UTC by Tomasz Kalkosiński
Modified: 2009-05-12 03:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Slight hinting. (28.82 KB, image/jpeg)
2009-05-10 14:01 UTC, Tomasz Kalkosiński
Medium hinting (29.41 KB, image/jpeg)
2009-05-10 14:02 UTC, Tomasz Kalkosiński
Full hinting (30.12 KB, image/jpeg)
2009-05-10 14:02 UTC, Tomasz Kalkosiński
No hinting. (26.36 KB, image/jpeg)
2009-05-10 14:03 UTC, Tomasz Kalkosiński

Description Tomasz Kalkosiński 2009-05-10 14:01:14 UTC
DejaVu letter #119 (ę) has broken slight hinting, while other hintings are ok. I've attached screenshots of all four hinting styles: none, slight, medium and full. You can clearly see that slight is broken. This bug was also in Kubuntu 8 but I report it now, after upgrade to 9.04. Please consider that 'ę' is a common letter in polish language and it looks awful compared to 'e'.

I use this ~/.fonts.conf file:

$ cat /home/spoonman/.fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
 <match target="font" >
  <edit mode="assign" name="rgba" >
 <match target="font" >
  <edit mode="assign" name="hinting" >
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
 <match target="font" >
  <edit mode="assign" name="antialias" >

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy ttf-dejavu
  Installed: 2.28-1
Comment 1 Tomasz Kalkosiński 2009-05-10 14:01:47 UTC
Created attachment 25704 [details]
Slight hinting.
Comment 2 Tomasz Kalkosiński 2009-05-10 14:02:06 UTC
Created attachment 25705 [details]
Medium hinting
Comment 3 Tomasz Kalkosiński 2009-05-10 14:02:22 UTC
Created attachment 25706 [details]
Full hinting
Comment 4 Tomasz Kalkosiński 2009-05-10 14:03:13 UTC
Created attachment 25707 [details]
No hinting.
Comment 5 Ben Laenen 2009-05-11 03:22:22 UTC
This is a bug in the autohinter from freetype. There's nothing we can do about this in DejaVu.

Reassigning to freetype.
Comment 6 Werner Lemberg 2009-05-11 03:44:06 UTC
Don't expect a quick fix.  I'm far too busy with other stuff and not
acquainted with the autohinter module.  You might directly contact the
FreeType list and file a bug report (at savannah.gnu.org); maybe David
has some time to look into it (which I doubt).

Sorry for that.
Comment 7 Tomasz Kalkosiński 2009-05-11 11:51:12 UTC
This bug is already filled on savannah : https://savannah.nongnu.org/bugs/?24357 . 

Thank you for support, too bad for ETA :/ Is there some way I can help on it?
Comment 8 Werner Lemberg 2009-05-11 22:12:01 UTC
Get acquainted with the autohinter code :-)

You might compare the autohinting steps between `e' and `ę' in a debugger
to find out where the problem lies.  A first introduction (slightly out of
date) can be found in this article:

Comment 9 Tomasz Kalkosiński 2009-05-12 03:41:40 UTC
Thanks, but as I can see it's a hude topic to learn. Bug seems sophisticated as it only shows with one letter. I've commented bug on savannah and I've asked David if he can take a look at this.

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.