Subject: Re: Setting Default Font
From: Colin Mattoon (cjm2@lewiston.com)
Date: Sun Apr 16 2000 - 08:51:03 CDT
Kevin:
To clarify this: The steps you outlined below are undertaken on the
application server and not on the Xterminals? I'm running Slackware on the
application server and xfs is not running, so I'll have to determine how
to start xfs on that machine before I can test this (Slackware doesn't
utilize the same initialization scripts that RedHat does).
Thanks,
Colin Mattoon
On Sat, 15 Apr 2000, Kevin Vajk wrote:
>
> On Sat, 15 Apr 2000, Colin Mattoon wrote:
>
> > So, my question is: Will the ability to change the fonts, when version
> > 1.0 is released, allow AbiWord to operate across a network on Xterminals,
> > without the additional requirement of either installing AbiWord fonts on
> > the Xterminal, or mounting them as NFS files?
>
> You can already do it, if you don't mind hacking around a little.
> (I assume you're running abiword on a Linux box, displaying to
> remote X servers, right?)
>
> Here's what you do, on the Linux box from which abiword is launched:
>
> Edit /etc/X11/fs/config. In the "catalogue" list, add the directory
> /usr/share/abisuite/fonts (or wherever your abiword fonts are installed)
> to the list (be careful about where the trailing commas do and don't go).
>
> Edit whatever script starts the font server "xfs" on your system.
> (If you're not running the font server, edit some rc script to
> start it at boot time.) The important thing is that your font
> server needs to be listening on the network, so you do *not* want
> it to have a "-port -1" command-line option.
> A specific example: on redhat, edit /etc/rc.d/init.d/xfs and
> remove (in both places) the string "-port -1". Then restart
> xfs with "/etc/rc.d/init.d/xfs stop ; /etc/rc.d/init.d/xfs start".
> (Note that "restart" will *not* work here.)
>
> Edit the abiword script ("vi `which abiword`"). Beneath the line:
> xset fp+ $ABISUITE_FONT_HOME 1>/dev/null 2>/dev/null
> add:
> xset q 2>/dev/null | grep -q -- tcp/`hostname` || \
> xset fp+ tcp/`hostname`:7100 1>/dev/null 2>/dev/null
>
> Voila.
>
> - Kevin Vajk
> <kvajk@ricochet.net>
>
>
>
This archive was generated by hypermail 2b25 : Sun Apr 16 2000 - 08:51:20 CDT