fontconfig and font server

François Patte francois.patte at math-info.univ-paris5.fr
Fri Apr 22 13:53:37 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

I want to use xfs on a machine as a font server in order to give an
access to fonts that do not exist on a remote machine. This is done very
easely with xfs:

1- I commented the line:  no-listen = tcp in /etc/X11/fs/config on the
server.

2- I used xset fp+ tcp/xxx.yyy.zzz.ttt:7100 on the client
(xxx.yyy.zzz.ttt = IP number of the server)

And I could control that the "link" was working, using xlsfonts on the
client:

xlsfonts | grep "font-that-do-not-exist-on-the-client"

So far, so good!

But I am unable to use these remote fonts with a web navigator. This
seems to be the job of fontconfig and I did not find any instructions to
tell  /etc/fonts/fonts.conf to use the remote fonts.

Is that possible and how?

Tye break question: It seems that a navigator can only use fonts defined
in these directories (from /etc/fonts/fonts.conf):

~         <dir>/usr/share/fonts</dir>
~        <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
~        <dir>/usr/X11R6/lib/X11/fonts/OTF</dir>
~        <dir>~/.fonts</dir>

And that if you want to add a new directory of fonts for your navigator,
you have to put it in /usr/share/fonts/default, because, subdirectories
of the other directories are not read. Am I right?

Thank you for any help.

PS I tested this on FC1 and FC2 only.

- --
François Patte.

École Française d'Extrême-Orient - Pune - Inde
UFR de mathématiques et informatique.
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCaQHhdE6C2dhV2JURArgtAJ0Tw628hEmVCQaUzidvhFfrc1vjdgCgkSJ4
2aIVVgyjD+MI+MIVW+jSy8M=
=/yZI
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list