DejaVu letter #119 (ę) has broken slight hinting

Bug #367777 reported by Tomasz Kalkosiński
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DejaVu Fonts
In Progress
Medium
fonts-dejavu (Ubuntu)
Triaged
Low
Unassigned

Bug Description

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.

I use this ~/.fonts.conf file:

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

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy ttf-dejavu
ttf-dejavu:
  Installed: 2.28-1

Revision history for this message
Tomasz Kalkosiński (tomasz2k) wrote :
Revision history for this message
Tomasz Kalkosiński (tomasz2k) wrote :
Revision history for this message
Tomasz Kalkosiński (tomasz2k) wrote :
Revision history for this message
Tomasz Kalkosiński (tomasz2k) wrote :
Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

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'>
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>bgr</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy ttf-dejavu
ttf-dejavu:
  Installed: 2.28-1

Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

Created an attachment (id=25704)
Slight hinting.

Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

Created an attachment (id=25705)
Medium hinting

Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

Created an attachment (id=25706)
Full hinting

Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

Created an attachment (id=25707)
No hinting.

Revision history for this message
Tomasz Kalkosiński (tomasz2k) wrote :

I've filed a bug report to DejaVu here: https://bugs.freedesktop.org/show_bug.cgi?id=21664 .

Revision history for this message
In , Ben Laenen (benlaenen) wrote :

This is a bug in the autohinter from freetype. There's nothing we can do about this in DejaVu.

Reassigning to freetype.

Revision history for this message
In , Werner Lemberg (wl) wrote :

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.

Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

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?

Revision history for this message
In , Werner Lemberg (wl) wrote :

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:

  http://www.tug.org/TUGboat/Articles/tb24-3/lemberg.pdf

Revision history for this message
In , Tomasz Kalkosiński (tomasz2k) wrote :

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.

Changed in dejavu-fonts:
status: Unknown → In Progress
Changed in dejavu-fonts:
importance: Unknown → Medium
Changed in dejavu-fonts:
importance: Medium → Unknown
Changed in dejavu-fonts:
importance: Unknown → Medium
affects: ttf-dejavu (Ubuntu) → fonts-dejavu (Ubuntu)
Changed in fonts-dejavu (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.