Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Here's how to get OOo to render fonts all pretty like OS X
Here's how to get OOo to render fonts all pretty like OS X
 
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Dec 16, 2004 4:12 pm    Post subject: Here's how to get OOo to render fonts all pretty like OS X

Set SAL_AUTOHINTING_PRIORITY=0 in soffice.bin's environment and be happy! Now OOo will render fonts just like OS X.

Ed, could this be hooked up to a preference in Start OpenOffice.org? Right now I'm just using a simple shell script named soffice.bin which sets this env variable and then exec's the real soffice.bin.

Matt
Back to top
roberts
Agent


Joined: Dec 13, 2004
Posts: 13

PostPosted: Thu Dec 16, 2004 6:10 pm    Post subject:

Hmm, in my case the text just looks more blurry -- not an improvement over the previous settings and nowhere near MacOS X quality. I think after applying the freetype matches from http://www.entropy.ch/software/macosx/docs/openoffice-mac/
the only missing things are: better kerning support and better font management (not necessarily *more* fonts, but the fonts should work as expected (i.e. print, display, adding italics, pdf rendering, sharing docs)
Back to top
Terry Teague
Guest





PostPosted: Fri Dec 17, 2004 1:31 am    Post subject: Re: Here's how to get OOo to render fonts all pretty like OS

Anonymous wrote:
Set SAL_AUTOHINTING_PRIORITY=0 in soffice.bin's environment and be happy! Now OOo will render fonts just like OS X.

Ed, could this be hooked up to a preference in Start OpenOffice.org? Right now I'm just using a simple shell script named soffice.bin which sets this env variable and then exec's the real soffice.bin.

Matt

I won't debate the issue of whether this improves font rendering or not, but I thought I would answer your question about environment variables.

As well as your solution, you have several other options :

a) Modify the AppleScript source code of "Start OpenOffice.org" yourself to add the environment variable (when "soffice.bin" etc are launched).

b) Create a text file called "environment.plist" in a ".MacOSX" directory in your home directory, that contains XML (plist) key/value pairs that correspond to the enviroment variables you want set (for all applications launched by the currently logged in user).

e.g.
Code:
<key>SAL_AUTOHINTING_PRIORITY</key>
<integer>0</integer>

c) Add the same environment variable key/value pairs to an "LSEnvironment" dictionary in the "Start OpenOffice.org" "Info.plist" file :

e.g.
Code:
<key>LSEnvironment</key>
<dict>
<key>SAL_AUTOHINTING_PRIORITY</key>
<integer>0</integer>
</dict>

See :

http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Concepts/EnvironmentVars.html

for more details.

Hope this helps.

Regards, Terry
[author of "Start OpenOffice.org"]
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.