Creating ports for X11 fonts

Romain Tartière romain at blogreen.org
Mon Sep 3 02:02:00 PDT 2007


On Sun, Sep 02, 2007 at 11:39:00PM +0800, Erich Dollansky wrote :
> why not use
> 
> /usr/local/lib/X11/fonts/
> 
> and then another level of directories depending on the type of the
> font i.e. TTF for true type fonts.

That is another possibility I have forgotten to mention.

Moreover, these directories contains a ``fonts.dir'' file. I guess that
when adding fonts in these directories, this file has to be updated
accordingly using mkfontdir(1).

> I would not use PORTNAME to create another directory. But I also see
> the advantage of doing so.

Font ports installing in their own subdirectory ships fonts.dir with the
port (see for example /usr/ports/x11-fonts/gentium/files/fonts.dir).
The benefit I see is that there is no stale files after removing the
port: the fonts.dir file vanishes with the font files and the
installation directory.

I am looking for a "best practice" that is the less painful for the x11
team.

Regards,
Romain

-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070903/aa8429bb/attachment.pgp


More information about the freebsd-x11 mailing list