On Aug 1, 10:18 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On 8/1/07, muraii <[EMAIL PROTECTED]> wrote:
>
> > I have fixed this particular issue in my system.  As I suspected, it
> > merely required a greater familiarity with installing fonts in Linux.
> > I won't spam the group, but if anyone runs into a similar problem,
> > please let me know.  I'm willing to help if I can.
>
> Actually, go ahead and spam the list.
>
> I would be very happy to consider having something so that at least
> if one is running SAGE locally (i.e., not from sagenb.org or something),
> it completely automates installing the fonts.

In my particular case, I needed only realize that /etc/fonts/
fonts.conf expected fonts to be found in specific places.  None of the
directories into which I'd installed the TeX fonts were in that list.
The options are to either

(a) simply install them into a directory in that list, keeping an eye
on the appropriate permissions;
(b) add your directory to those listed in /etc/fonts/fonts.conf; or
(c) create an /etc/fonts/local.conf file with the locations of your
custom directories.

As it happens in my case (and I'm unaware to what degree this is
standardized across distributions), the ~/.fonts/ directory is listed
by default (among others) in /etc/fonts/fonts.conf.  I simply had to
create this directory and dump my fonts into it.  A quick run through
of

    ~/.fonts/TeX-fonts $ mkfontdir ~/.fonts/TeX-fonts/
    ~/.fonts/TeX-fonts $ mkfontscale ~/.fonts/TeX-fonts/
    ~/.fonts/TeX-fonts $ mkfontdir -e /usr/X11R6/lib/fonts/encodings/

created all the requisite indices and whatnot for X to know where and
how to find the fonts.  Of course, it's also a good idea (I assume
required, but I'm unsure) to list your directory(-ies) as a "FontPath"
in your /etc/X11/xorg.conf file as well.

Option (b) above is volatile, as each time fontconfig is executed,
the /etc/fonts/fonts.conf file is rebuilt.  Using option (c) above
doesn't obviate the need for the mkfont[dir, scale] commands above.

Again, I'm using Slackware 11.0 with no major tweaks.  The process
should work for many distributions, and doesn't require any
intervention via Gnome/KDE/Xfce panels, which makes it more accessible
for any kind of automated installation.

Hope this is helpful.  Now, time to play.

Daniel


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to