Solaris Fonts on Linux? 9
IOstream
asks:
"I was wondering if anyone has a way to get all of the
Solaris fonts into XFree86 on Linux, or at least something
similar... I am wondering for two reasons: 1) their fonts seem
much cleaner, and Linux apps look better exported to
Solaris as a result, 2) there are some sun apps which are
dependant on Suns fonts, and the display will not export
properly... "
What is the issue? (Score:1)
Hm... (Score:1)
I haven't tried this with my solaris box. Maybe I should.
- A.P.
--
"One World, One Web, One Program" - Microsoft Promotional Ad
How about XFS? (Score:2)
Solaris includes a utility called fsadmin which you can use to add the appropriate line to /etc/inetd.conf to start the font server when someone connects to it.
Now, to configure your Linux box to access the Solaris font server, add something like "tcp/hostname:7100" to the FontPath line in your XF86Config file.
If you'd rather not use the font server, another, more complicated, option is to duplicate the CDE font aliases on your Linux system. The reason CDE programs look strange when run on your Linux system is that they look for font names starting with "-dt-", which CDE installs as aliases to regular X fonts. Try this to see a list:
grep -- -dt- /usr/openwin/lib/X11/fonts/*/fonts.*
Now, make sure your Linux configuration has the fonts installed that the alias lines refer to (if not, look up the font filenames in fonts.dir and copy them to the Linux box), then add the alias lines to your fonts.alias files on the Linux side. Do an xset fp rehash and you should see the new fonts in an xlsfonts listing.
You'll need to have some knowledge of the fonts.alias and fonts.dir files in order to figure out how to implement this second approach, but I have done it before, so I know it's possible. Each line in fonts.alias maps a font alias to a real font name. Each line in fonts.dir maps a filename on disk to its font name. Solaris includes some proprietary scaled fonts in the F3 directory that XFree86 doesn't support, but there seem to be bitmap versions in the F3bitmaps directory (as of Solaris 2.6 at least), and the CDE aliases refer to those so you should be okay.
Good luck!
Solaris fonts (Score:1)
At my last job, I had a Sparc running Linux. It also had a Solaris disk in it (but I didn't boot into that much :-). To get at the fonts, I simply mounted the appropriate Solaris partitions and used xset fp+ to add the fonts directories to the font path. Under XFree86, you could also set the font path in XF86Config, but xset will work on any X server.
Display Ghostscipt (Score:1)
one great thing to like about Sun.
F3 fonts are dead (Score:1)
Ironic that you ask that, because I wouldn't mind making the fonts on my solaris box look as nice as the ones I have on my linux box.
re-using these fonts? (Score:1)