Re: x11 & dt fonts
Re: x11 & dt fonts
- Subject: Re: x11 & dt fonts
- From: "Thomas 'Tom' R. Treadway III" <email@hidden>
- Date: Wed, 26 Feb 2003 18:38:58 -0800
The dt fonts are a mix of fonts and font aliases.
I haven't found a public site containing the CDE font set.
1. I solved the problem as follows:
cd $HOME
mkdir .fonts
cd .fonts
mkdir 100dpi 75dpi F3bitmaps
scp sunhost:/usr/openwin/lib/X11/fonts/100bpi/fonts.alias 100dpi
scp sunhost:/usr/openwin/lib/X11/fonts/75bpi/fonts.alias 75dpi
scp -r sunhost:/usr/openwin/lib/X11/fonts/F3bitmaps .
mkfontdir 100dpi 75dpi F3bitmaps
xset fp+ $HOME/.fonts/100dpi, $HOME/.fonts/75dpi, $HOME/.fonts/F3bitmaps
2. Another possibility is to Extract the missing font descriptions
from an X font server, and add them into your font path.
# view fonts served by X font server
$ fslsfonts -server tcp/fontserverhost:7100 -fn -dt-*
# generate the missing Bitmap Distribution Format (BDF) font file from
X front server
# (fontserverhost). You'll need to determine a mapping from the X font
server
# font name, and the BDF file name (the fonts.dir file from the X font
server
# could help with this, or could use information from fslsfonts -ll to
construct names).
$ cd ~/.fonts/cde
$ fstobdf -server tcp/fontserverhost:7100 \
-fn "-dt-interface user-medium-r-normal-xxl
sans-24-240-72-72-m-145-iso8859-1" > CDEIS10.bdf
### compile fonts into Portable Compiled Format
$ for i in *.bdf;do
> bdftopcf -o ${i%.bdf}.pcf $i
> rm $i
> done
# create the font name database
$ mkfontdir
# append this directory to your font path
$ xset fp+ ~/.fonts/cde/
# to verify use the use an X font displayer like `xfd'
$ xfd -fn '-dt-interface user-medium-r-normal-xxl
sans-24-240-72-72-m-145-iso8859-1'
3. Use the font serve capability of X11 to provide the fonts from a font
server. Add the following to ~/.xinitrc
xset fp+ tcp/fontserverhost:7100
trt
> I am using Apple's X11 v0.21 with MacOSX.2.4. In order to launch some
> XWindows applications from a unix workstation and display it on my
> macintosh, I need the dt font. I would like to know :
>
> - where can I find the dt fonts ?
> - how do I install the dt fonts ?
>
> Sincerelly,
>
> Christophe
> _______________________________________________
> x11-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/x11-users
> X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
> Report issues, request features, feedback:
> http://developer.apple.com/bugreporter
> Do not post admin requests to the list. They will be ignored.
>
>
--
Thomas R. Treadway
Computer Scientist
Lawrence Livermore Nat'l Lab
7000 East Avenue, L-365
Livermore, CA 94550-0611
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.