Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add font spec to xinitrc' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add font spec to xinitrc
Authored by: osxrox on Feb 11, '03 12:56:52PM

I tried modifying my '~/.xinitrc' file to specify the font format in an X11 startup window and it works. I added '-fa Monaco -fs 10' to an xterm statement in the bottom section (# start some nice programs). The line, uncommented, now reads:

xterm -geometry 80x25+0+25 -fa Monaco -fs 10 &

I chose 10-point for my xterm window. Note the font spec has to precede the ampersand if you are opening multiple windows. If you are only opening one window I believe the ampersand isn't required. (I have commented out the other xterm and clock statements in my file.)

Note that the default 'xinitrc' file installed by Apple's X11 .2 beta uses twm as the window manager, simply change the line in the bottom section (# start some nice programs) from 'twm &' to 'quartz-wm &' and enjoy aqua windows.

Now if I could only get antialiased access to my fonts in OpenOffice! Patience, patience,...



[ Reply to This | # ]
Add font spec to xinitrc
Authored by: HeimirFreyr on Feb 11, '03 04:31:35PM

But you can already have anti aliased fonts in OpenOffice.

Simply copy all your existing OS X fonts to /Applications/OpenOffice.org1.0.1/share/fonts/

I also copied them into: '/Applications/OpenOffice.org1.0.1/share/fonts/truetype' just in case.

Works fine. To make the font on the menus anti aliased too I had to use the zoom feature in the settings dialog (set it to 109% or something).



[ Reply to This | # ]
Add font spec to xinitrc
Authored by: osxrox on Feb 11, '03 06:19:18PM

I have had no success with just copying OS X Truetype fonts as is into either '/Applications/OpenOffice.org1.0.1/share/fonts/' or '/Applications/OpenOffice.org1.0.1/share/fonts/truetype'.

I have had some luck with 'fondu' as referred to below. I am quoting from a post on the 'www.ooodocs.org' forum 'Testing - Mac OS X' (I hope making such a quote from another forum is ok).

"Posted: Sat Jan 11, 2003 2:04 am    Post subject: Re: Thanks
Mac-style fonts will not work right now. These include OS 9 style fonts with font data in the resource fork (fonts with names like simply "Arial") and also Mac OS X style .dfont files (fonts iwth names like "Bookman.dfont"). These are _not_ straight-up TrueType fonts, they actually stuff the font data into a resource in either the file's resource or data forks, but they are not simply TrueType files.

We are working on getting this support in and hope to have it very soon, like the next couple weeks. However, if you check out the Fondu project (fondu.sourceforge.net) they have converters that can convert Mac fonts to real TrueType files (ie files with the extension ".ttf"). We actually use this in the installer to convert Lucida Grande to .ttf so we can change the interface font to a nicer one.

Be aware there are kerning and spacing problems with some of the Mac OS X fonts when you convert them with Fondu. These will manifest themselves as problems like all the characters laying on top of each other when you type. Its kind of hit or miss.

Dan"



[ Reply to This | # ]