Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81714

Summary: Openoffice-Ximian doesn't honour /etc/fonts/local.conf and xrdb
Product: Gentoo Linux Reporter: Giacomo Perale <ghepeu>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2004.3   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Giacomo Perale 2005-02-12 03:19:55 UTC
Maybe this bug should be reported upstream, but I'm don't know which patches Gentoo apply and I don't have good experiences with Ximian support.

Openoffice Ximian 1.3.7 and 1.3.8 (I didn't check previous releases) don't honour font settings in /etc/fonts/local.conf (from media-libs/fontconfig) and xrdb. At the moment I compile freetype with the patented bytecode interpreter, but I enable patent-free autohinting with option "Xft.autohint: 1" in ~/.Xresources, and disable it just for some fonts with instructions in /etc/fonts/local.conf 

for example:

        <match target="font">
                <test name="family">
                        <string>Verdana</string>
                </test>
                <edit name="autohint" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

This way, in GTK+ and QT-based applications (and with firefox too) Verdana is rendered with the bytecode interpreter, while every other fonts is rendered with the freetype auto-hinter.
On the contrary OpenOffice Ximian renders all fonts with the bytecode interpreter.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-02-17 05:27:01 UTC
You should really file this upstream, there is nothing we can do here