gtk 2.7.3 with cairo doesn't use font rendering settings

Bug #19132 reported by Wit Wilinski
16
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Upgrade from gtk 2.6 to 2.7 (the one using libcairo for rendering) broke font
rendering. Freetype settings don't work at all. Fonts are antialiased, but
autohinting and subpixel rendering doesn't work.

BTW. gtk with cairo is currently much slower than the one without

Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks for your bug. The font issue is known and fixed with the next version of
pango/gtk. What kind of configuration do you have?

Revision history for this message
Wit Wilinski (wit-wilinski) wrote :

I have a Celeron M 1.4GHz (w/speedsteping), 512MB RAM.

As of the software side, I have a self-compiled freetype 2.1.9 with bytecode
interpreter enabled. It is configured with rgb subpixel rendering and full
autohinter.

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 19185 has been marked as a duplicate of this bug. ***

Revision history for this message
Sebastien Bacher (seb128) wrote :

This is fixed with this upload:

 pango1.0 (1.9.1-0ubuntu1) breezy; urgency=low
 .
   * New upstream version:
     - support setting of font options and DPI on PangoContext for
       the Cairo backend (Ubuntu: #12876).
   * debian/control.in:
     - updated the Build-Depends on cairo.
     - updated the Standards-Version.
   * debian/patches/buildfix.patch:
     - fix the build.

Revision history for this message
Wit Wilinski (wit-wilinski) wrote :

(In reply to comment #4)
> This is fixed with this upload:
>
> pango1.0 (1.9.1-0ubuntu1) breezy; urgency=low
> .
> * New upstream version:
> - support setting of font options and DPI on PangoContext for
> the Cairo backend (Ubuntu: #12876).
Yes, one issue is resolved. There's the bigger problem. Speed issue when looking
at gtk 2.6.8->2.7.1
Well... I didn't really measure it. I have a speedstep CPU, normally running
@175MHz (typical text applications, browsing etc.)

After upgrading gtk to 2.7 w/cairo rendering, I see CPU clocking up to at least
~500 or 700MHz just to render a web page (even without graphics). The same with
some cpu-intensive gtk widgets, like gtktreeview. I have a 800MHz desktop
machine with KDE. The desktop has a wonderful fast 'feel', where gtk seems to be
slower each release.

With newer gtk versions (2.6 and up) even scrolling package list in synaptic is
a problem (the list constantly 'jumps', doesn't render fluently. We should avoid
the situation where there's a need for 3GHz CPU to use Windows notepad.exe-like
application ;)

Maybe breezy should have its Gnome compiled against gtk-2.6 instead of the
experimental-and-much-slow-2.8 one?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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