Fwd: Portinstalling fonts without X
Dejan Lesjak
dejan.lesjak at ijs.si
Tue Feb 8 09:38:54 PST 2005
On Sunday 06 of February 2005 21:25, Your Name wrote:
> i tried this at freebsd-questions, but no answer--i
> thought this is simple! Thanks for the help.
>
> Jen
>
> --- Your Name <bg271828 at yahoo.com> wrote:
> > Date: Sat, 5 Feb 2005 21:00:45 -0800 (PST)
> > From: Your Name <bg271828 at yahoo.com>
> > Subject: Portinstalling fonts without X
> > To: freebsd-questions at freebsd.org
> >
> > i am trying to install some truetype font ports
> > (bitstream-vera, xorg-fonts-truetype) onto a server
> > that
> > is not running X. i only want the fonts, so that
> > they
> > can be used by programs running on the server like
> > to
> > generate images in CGI scripts with particular fonts
> > and stuff like that.
> >
> > When i use portinstall, it tries to install
> > fontconfig
> > and then it wants to suck down XFree86, even though
> > i
> > have WITHOUT_X11=true in /etc/make.conf.
> >
> > How can i just get the fonts without X, which i
> > don't
> > need?
In short: you can't.
At least not from ports, it will not install entire X though.
The intent of fonts ports is mostly for usage by X. They need XFree86/X.Org
-clients to build fonts.dir and fonts.scale files and they need fontconfig to
build cache file (fonts other than truetype also need stuff from -clients to
actually build).
That said, the easiest thing to do would be to copy fonts from some other
machine to where you need them. Or perhaps doing a 'make extract' in a
particular port and then manually copying font files. I don't think it would
be of much benefit to modify ports to just extract a file and copy fonts
somewhere if WITHOUT_X11 is defined, especially since doing it manually, you
are more free to choose which fonts exactly you would want and where to put
them. Furthemore, you don't have to worry so much about security implications
and other upgrades with fonts. Feel free to convince me otherwise of
course :)
Dejan
More information about the freebsd-x11
mailing list