Re: Getting xfs-xtt to work

2000-02-07 Thread Gregory T. Norris
You don't want to specify the actual path to the fonts in the xset
command, unless you want your X server to handle them directly (i.e.
not using a font server).  Instead you want to specify the port which
your font server is listening at, which is normally 7100.  The place
you need to list the full path is /etc/X11/xfs/config - you may need to
restart xfs-xtt as well.

The command xset +fp unix/:7100 indicates to use Unix domain sockets
(faster than TCP sockets for local communications, xfs-xtt should
support both) on port 7100.  That should be all you need.

Cheers!

On Sun, Feb 06, 2000 at 06:29:21PM -0500, Bart Szyszka wrote:
  Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
  xfs.
 
 I really have no idea what I'm doing so I'd appreciate it if you guys would
 be more specific. What's similar What should I do same as xfs? Like I said,
 I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try 
 to
 install xfs). Don't I need to do something like this:
 xset +fp /usr/local/share/fonts/truetype   
 
 When I do I get this:
 xset:  bad font path element (#38), possible causes are:
 Directory does not exist or has wrong permissions
 Directory missing fonts.dir
 Incorrect font server address or syntax 
 
 - Bart


Re: Getting xfs-xtt to work

2000-02-07 Thread Philip Lehman
On Sun, 6 Feb 2000, Bart Szyszka [EMAIL PROTECTED] wrote:

 Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
 xfs.

I really have no idea what I'm doing so I'd appreciate it if you guys would
be more specific. What's similar What should I do same as xfs? Like I said,
I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try to
install xfs). Don't I need to do something like this:
xset +fp /usr/local/share/fonts/truetype 

No, you're getting something wrong here. Your X server doesn't need to
know the path to the font files, it needs to know were to find the
font server who in turn needs info about the path to the actual files.
Thus the path definition for the xserver could look like
unix/:7100, which basically means font server on localhost, port
7100. You want to put this in the Files section of your
/etc/X11/XF86Config file; mine looks like this:

Section Files
   RgbPath/usr/X11R6/lib/X11/rgb
   FontPath   unix/:7100
EndSection

The xset stuff is only for testing purposes, since the xserver will
refuse to start if something goes wrong with the fonts.

When I do I get this:
xset:  bad font path element (#38), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax 

This is probably because there is no fonts.dir file. You don't have to
worry about this as far as the xserver is concerned as it won't access
the files but query the font server instead. But the font server might
need this file. xfs and xfsft do, xfstt doesn't, I don't know about
xfs-xtt. There should be some instructions that tell you what files
you need.

-- 
Philip Lehman [EMAIL PROTECTED]


Fonts too big after getting xfs-xtt to work

2000-02-07 Thread Bart Szyszka
Hello,

I got xfs-xtt working (thanks!), but I'm having some related problems. Now in
some programs, the fonts are too big and I can't change them. My Kpanel's
taskbar and menu text fontsize is too big. Changing it to some huge size or
some small size or even a completely different font does nothing. It stays
at what looks like a 14px Arial/Helvetica no matter what. Any ideas?

- Bart


Re: Fonts too big after getting xfs-xtt to work

2000-02-07 Thread Philip Lehman
On Sun, 6 Feb 2000, Bart Szyszka [EMAIL PROTECTED] wrote:

I got xfs-xtt working (thanks!), but I'm having some related problems. Now in
some programs, the fonts are too big and I can't change them. My Kpanel's
taskbar and menu text fontsize is too big. Changing it to some huge size or
some small size or even a completely different font does nothing. It stays
at what looks like a 14px Arial/Helvetica no matter what. Any ideas?

Is this limited to kde? Then you should launch kfontmanager and make
sure that the installed fonts and the fonts used by kde are in
sync. Otherwise make sure the path setting used by the font server is
sane, order does matter if you have different versions of one
font. Put the dirs with the best fonts first.

-- 
Philip Lehman [EMAIL PROTECTED]


Re: Getting xfs-xtt to work

2000-02-06 Thread Chanop Silpa-Anan
Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
xfs.


Chanop

Once upon a time, I heard Bart Szyszka said

 Hello,
 
 Someone here suggested getting xfs-xtt to add True Type font support
 to Linux. I did that and am getting trouble setting it up. Here are the
 steps I've followed so far after installing xfs-xtt and also fttools:
 mkdir /usr/local/share/fonts/truetype
 cp /mnt/c/windows/fonts/*.ttf /usr/local/share/fonts/truetype
 cd /usr/local/share/fonts/truetype
 mkfttdir
 nano /usr/X11R6/lib/X11/fs/config
   (added a pointer to /usr/local/share/fonts/truetype)
 
 That's where I am right now. What do I do after (or before?)? Isn't there
 some xset command I need to run? Do I need to kill the x-server stuff
 (and if I do, mind telling me how?). Please be specific. Thanks!
 
 - Bart
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d? s+: a- C++ UL++ P+ L+++ E- W++ N++ o-- K- w---
O- M+ V-- PS PE++ Y PGP++ t+ 5++ X+ R tv+++ b++ DI+ D-
G e+++ h* r+ y+
--END GEEK CODE BLOCK--


Re: Getting xfs-xtt to work

2000-02-06 Thread Bart Szyszka
 Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
 xfs.

I really have no idea what I'm doing so I'd appreciate it if you guys would
be more specific. What's similar What should I do same as xfs? Like I said,
I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try to
install xfs). Don't I need to do something like this:
xset +fp /usr/local/share/fonts/truetype   

When I do I get this:
xset:  bad font path element (#38), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax 

- Bart


Re: Getting xfs-xtt to work

2000-02-06 Thread Chanop Silpa-Anan
Once upon a time, I heard Bart Szyszka said

  Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
  xfs.
 
 I really have no idea what I'm doing so I'd appreciate it if you guys would
 be more specific. What's similar What should I do same as xfs? Like I said,
 I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try 
 to

similar thing mean, tcp:/hostname:port, I'm pretty sure that there are other
options. But I use unix/:7100. 

This means that You don't have to run xfs-xtt on every machine. You can run it
on, for example, a machine name fontserver. Then you should use 

xset +fp tcp/fontserver:7100

or put 

FontPath tcp/fontserver:7100 in /etc/X11/XF86Config

 install xfs). Don't I need to do something like this:
 xset +fp /usr/local/share/fonts/truetype   
your X won't know how to render Trurtype font :(


Chanop

-- 
,-.
| Chanop Silpa-Anan [EMAIL PROTECTED] |
| Australian National University  |
| Tel. +61 2 6279 8826, +61 2 6279 8837 (office hour) |
|  +61 2 6249 5240 (home +voice mail) |
|   Debian GNU/Hurd   GPG key on request  |
`-'