-   Linux - Newbie (
-   -   Ugly fonts in open office and xine (

Phantomas 09-04-2003 08:58 AM

Ugly fonts in open office and xine
I've installed openoffice 1.1.0 onto my debian sid machine. All of the fonts ugly, and antialising isn't working. (Same goes with xine and a few other apps...)

I've done a bit of research and found that freetype has truetype font support turned off by default, due to patents held by apple.

I remember when i had mandrake installed OOo fonts looked nice, so i guess they turned it on. I'm guessing debian has it turned off in open office, being the careful people that they are.

I've got anti aliasing woking nicely in most of my other apps, notably moz firebird, which also uses freetype.

Is there an easy way to fix this problem? I'd really like to avoid having to recompile a new version of freetype for open office if at all possible, out of fear of breaking things and causing more problems than i started with...

Is there a way to make OO use firebird's freetype or something?

quatsch 09-04-2003 09:03 AM

go into the installation directory of OOo and then into the subdirectory named program. There is a
move it to somewhere else or rename it (just in case you need it back). Then create a symbolic link named
where the link target is
(this is where the most applications use is installed on my system; it might be different for you. Just look for it)
This works for me.

Phantomas 09-04-2003 09:28 AM

I checked in /usr/lib/openoffice/program, but there was no there.

/usr/lib/ is actually a link to /usr/lib/ on my system, so i did:

ln -s /usr/lib/ /usr/lib/openoffice/program/

I've restarted OO but nothing's changed :(

quatsch 09-04-2003 09:51 AM

hm. I'm actually using the beta version of OOo1.1 and not the latest rc version so maybe things are a bit different.

But to make things sure. Is /usr/lib/openoffice the installation directory of OOo1.1? If you used the tar.gz version, the default intallation directory is, I think, /opt/OpenOffice1.1 or something like that.

Phantomas 09-04-2003 10:20 AM

OK, finally got it sorted. Found a good howto here:

I recompiled freetype with true type fonts enabled... Wasn't too painful.
Then i ran ./usr/lib/openoffice/spadmin And added all of my true type fonts from there.

Now i can actually change the font used in the OOo UI to a nice anti aliased one, and it looks good. Sweet.


Phantomas 09-04-2003 10:27 AM

If anyone else needs to know in the future, to change the UI font in OOo you got to tools -> options -> -> fonts.

Tick 'Apply Replacement Table', then type in 'Andale Sans UI' in the 'Font' field (this is OOo's default gui font. It probably won't be in the drop down list, you'll have to type it in yourself), then pick a better font to replace it with in the 'Replace Font' field.

Press the tick button, check 'always' and 'screen' and you should be good to go :)

All times are GMT -5. The time now is 06:45 PM.