Bug 7486

Summary: DejaVu: German umlaut "ö" is rendered with only one dot.
Product: freetype Reporter: Christian Nolte <ch.nolte>
Component: generalAssignee: Werner Lemberg <wl>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: freedesktop, mattias.ellert
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot showing the umlaut-ö problem

Description Christian Nolte 2006-07-10 11:59:21 UTC
The German umlaut "ö" (HTML-Code: &ouml;) is not rendered correctly on my Fedora
Core 5 system.

Here are some details

Tested font family: DejaVu Sans
DejaVu Sans Book, size 10 and Sans Mono Book size 10
TFT Display, 1280x1024, 96 ppi

xdpyinfo reports:

screen #0:
  print screen:    no
  dimensions:    1280x1024 pixels (382x302 millimeters)
  resolution:    85x86 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
Comment 1 Christian Nolte 2006-07-10 12:00:26 UTC
Created attachment 6178 [details]
Screenshot showing the umlaut-ö problem
Comment 2 Denis Jacquerye 2006-07-10 12:12:58 UTC
Thanks for the report, but this looks like an autohinter bug.
I cannot reproduce this without the autohinter.

Can you look whether you have the freetype autohinter on or off?
Comment 3 Christian Nolte 2006-07-10 13:29:16 UTC
Sorry, but how can I check this setting?
Comment 4 Denis Jacquerye 2006-07-10 13:35:49 UTC
(In reply to comment #3)
> Sorry, but how can I check this setting?

Sorry, are you on fedora? If so you probably have the autohinter on.

If you're on a debian based system reconfiguring freetype should let you
disable/enable the autohinter vs. the native font instructions.
Comment 5 Christian Nolte 2006-07-10 14:00:31 UTC
> Sorry, are you on fedora? If so you probably have the autohinter on.

Yes. I am using FC5. I have found the setting for autohinting within
gnome-font-properties. If hinting is set to "full" then the mentioned problem
occurs. If set to "medium" or lower, then the umlaut is rendered correctly. So
it is a hinting problem.

gnome-font-properties to reproduce the problem are:

Resolution: 96 dpi
Smoothing: Subpixel
Hinting: Full
Subpixel Order: RGB

freetype version is:

freetype-2.1.10-5.2.1

Do you need any further information?
Comment 6 Denis Jacquerye 2006-07-10 14:10:38 UTC
(In reply to comment #5)
> Do you need any further information?
Nope, that's pretty much all we need :)

Unfortunately we can't control the way the autohinter works from the font side. 

Are you happy with the way the font looks with hinting set to medium or lower?
If so, we'll close the bug and try to add this kind of info to our webpage.

Comment 7 Christian Nolte 2006-07-10 14:23:57 UTC
Medium-style hinting looks good to me. I have found out that setting the
subpixel order to "VBGR" or "VRGB" combined with "full" hinting, solves this
problem too.
Comment 8 Denis Jacquerye 2006-07-10 14:28:55 UTC
Glad to know there's a fix around this.

I'm closing the bug since it can be 'fixed' on the user side.
Comment 9 Nicolas Mailhot 2008-12-06 11:25:18 UTC
Mass move of freetype bugs to the new freetype product
Comment 10 Nicolas Mailhot 2008-12-06 11:27:45 UTC
Reopen the NOTOURBUG reports now they're correctly affected
Comment 11 Ben Laenen 2008-12-06 11:43:14 UTC
*** Bug 8403 has been marked as a duplicate of this bug. ***
Comment 12 Ben Laenen 2008-12-06 11:44:06 UTC
I think this bug was fixed in the mean time btw, but please check.
Comment 13 Werner Lemberg 2008-12-06 14:26:20 UTC
With 96dpi, I don't see artifacts.

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.