Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 235834

Summary: Anti-aliased font rendering has deteriorated
Product: [Fedora] Fedora Reporter: Philip Frampton <philip.frampton>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.0.4-5.5.21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-17 15:56:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
replacement for /usr/lib/openoffice.org2.0/program/ none

Description Philip Frampton 2007-04-10 13:27:43 UTC
Description of problem:

Openoffice font rendering has become noticably worse in a recent update.

Version-Release number of selected component (if applicable):

How reproducible:

Compare rendering of words in GNOME panel against rendering of same words at
same size in

Steps to Reproduce:
1. Use DejaVU fonts
2. Turn on antialiasing in OOo and sub-pixel or best shape in Gnome
3. Compare rendering of "Applications Places System"
Actual results:

OOo renders letters thicker and less beautiful ;-)

Expected results:

The same (they both use freetype library)

Additional info:

I noticed the change a while ago - probably the update. At the time I thought it was
my poor font rendering. OOo used to look as nice as gnome applications but then
it changed - it now renders as nice as the 2nd best setting in gnome (for my
display) - that is Best Shapes not Sub-pixel.

Comment 1 Philip Frampton 2007-04-10 13:34:58 UTC
Part of me now feels a little stupid. I spent about 10 mins googling before
writing this report - and then immediately after writing it I found the solution.

In ~/.fonts.conf I changed

 <match target="font" >
  <edit mode="assign" name="rgba" >


 <match target="font" >
  <edit mode="assign" name="rgba" >

and this fixed the problem. I'm not sure what it means, or what changed it, or
why it only affected OOo.

Comment 2 Caolan McNamara 2007-04-13 08:51:42 UTC
I see a little difference alright, but to be sure I'm looking at the same thing.
What are you comparing, the menu bars ?, i.e. is there a difference in e.g. the
"File" between gedit and

If that's a good example, then what's the selected font and size in gnome font
preference for "application font", and the output of fc-match -v "that font"

Comment 3 Caolan McNamara 2007-04-13 12:07:16 UTC
I think I see the problem, I see that the cairo logic for subpixels has changed
slightly. We are using FL_Load_Glyph with flags of 0x10200 while cairo apps like
gedit are loading with 0x00200 hint medium is getting mapped to hint slight for
us at the moment. 

I'll make a test build and provide a replace for you to test
this, and if works out I can push a FC-6 update.

Comment 4 Caolan McNamara 2007-04-14 11:00:37 UTC
Created attachment 152606 [details]
replacement for /usr/lib/openoffice.org2.0/program/

Can you please test this for me to see if it fixes the problem for you ?


mv /usr/lib/openoffice.org2.0/program/ /tmp
copy this attachment to /usr/lib/openoffice.org2.0/program/
launch office and see if the text is improved
afterwards you can replace /usr/lib/openoffice.org2.0/program/
with the version you moved to /tmp

Comment 5 Philip Frampton 2007-04-16 04:42:46 UTC
Yes this fixes the problem. I changed ~/fonts.conf back to my original settings
(none for sub pixel and hintmedium), checked it made the fonts worse, then tried
your new library and it looked as good as gnome - much better.


Comment 6 Caolan McNamara 2007-04-16 06:47:00 UTC
excellent, I'll push this out as an update soon then.