Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11258 - openoffice-bin : better font rendering
Summary: openoffice-bin : better font rendering
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-26 12:55 UTC by Lapo Calamandrei
Modified: 2006-02-04 06:03 UTC (History)
0 users

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 Lapo Calamandrei 2002-11-26 12:55:12 UTC
since our freetype does hinting ldpreloading it before launching openoffice
(which is statically linked to a freetype lib) is a nice idea. This can be done
by changing lines 180, 181 and 182 of /usr/bin/ooffice to :

  oosetup) LD_PRELOAD=/usr/lib/libfreetype.so.6 exec "$OOHOME/setup" ;;
  oopadmin) LD_PRELOAD=/usr/lib/libfreetype.so.6 exec "$OOHOME/spadmin" ;;
  *) LD_PRELOAD=/usr/lib/libfreetype.so.6 exec "$OOHOME/soffice" "$@" ;;
Comment 1 Seth Chandler 2002-11-30 14:30:50 UTC
hrm i'm a little slow on the uptake here.  could you explain why this provides 
better font rendering in OOo?
Comment 2 Lapo Calamandrei 2002-12-02 11:26:18 UTC
because oo binary dist is statically linked with a freetype lib with the hinter
disabled, while our has it enabled by default, try to see the results.
(I forgot a piece of a sentence, in the previous report, sorry)