Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14801 - Simple technique /vastly/ improves font rendering in OpenOffice
Summary: Simple technique /vastly/ improves font rendering in OpenOffice
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 15:31 UTC by kfm
Modified: 2003-04-06 11:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kfm 2003-01-30 15:31:10 UTC
Hi, 
 
following a lead given by someone in the Gentoo Forums, it transpires that by 
setting: 
 
export LD_PRELOAD=/usr/lib/libfreetype.so 
 
before running any OpenOffice component, the font rendering is improved beyond 
belief, in line with the rendering one would expect from a lot of other modern Xft 
based software running in X. This is particularly evident for TrueType fonts (once 
used the ooadmin program to link them in, that is). 
 
By also configuring anti-aliasing to only be applied at fonts above 15pt (this can be 
done in the OpenOffice preferences dialog), and by substiting a font like "Arial" for 
"Andale Sans UI" (also in OO preferences) the appearance of the program becomes 
rather magnificent. OO pays no attention to directives in .fonts.conf, at least not for 
anti-aliasing but the dialog does the trick. 
 
Not sure if the tweak would be stable for everyone. It was problematic for me on my 
system until I re-installed Gentoo recently. Before I was running lots of ~x86 builds 
and the system had been installed many months ago. But since re-installing (which 
co-incided with the semi-freeze of the Portage tree) and sticking to stable builds, the 
technique works flawlessly for me. 
 
This could be a really nice tweak to add to the OO component startup scripts :-) 
And changing the other two aspects mentioned could make for a much more 
enjoyable "out-of-box" experience too.
Comment 1 SpanKY gentoo-dev 2003-01-30 16:00:48 UTC
seth: this is a dup of some bug ... i cant remember what bug ... but the last one you had no idea wtf the guy was talking about ... something about freetype and version hinting ... basically his english was quite broken
Comment 2 Eric Andresen 2003-01-30 23:48:14 UTC
This definitly makes fonts in OpenOffice.org look *much* better. I found that the best place to put this so that it is used all the time is in the /usr/bin/ooffice script at line 179, just add "export LD_PRELOAD=/usr/lib/libfreetype.so" and you're done.
Comment 3 Seth Chandler 2003-01-31 18:58:25 UTC
fixed in cvs 
Comment 4 Seth Chandler 2003-01-31 18:58:43 UTC
bleh fixed 
Comment 5 James Hiscock 2003-04-06 11:42:58 UTC
This appears to actually break the fonts in openoffice-bin-1.0.2. See this thread in the 
forums: http://forums.gentoo.org/viewtopic.php?p=270314 
Comment 6 Seth Chandler 2003-04-06 11:46:28 UTC
this isn't what breaks the binary, its a broken fontpath that breaks it...read the ewarns 
after upgrading x and installing openoffice