site::fonts failure

0 views
Skip to first unread message

Roger Mason

unread,
Dec 7, 2009, 8:44:50 AM12/7/09
to amrita...@googlegroups.com
Hello,

I just ran:

pyrope AMRITA $ amrmake -verbose site::fonts

with the following result:

You have requested:

/home/rmason/AMRITA/AMRITAv3.04/site/fonts/amrita.build

Continue? [yes] >>yes
********************
amrbuild site::fonts
********************
downloading http://www.amrita-cfd.org/site/fonts.tar.gz
########################################################################
100.0%
inflating fonts.tar.gz
fonts/
fonts/TrueType/
fonts/TrueType/fonts.cache-1
fonts/TrueType/mk_cache
fonts/TrueType/trebuchet.ttf
fonts/TrueType/trebuchetb.ttf
fonts/TrueType/trebuchetbi.ttf
fonts/TrueType/trebucheti.ttf
fonts/TrueType/fonts.scale
fonts/TrueType/dour45w.ttf
fonts/TrueType/dour46w.ttf
fonts/TrueType/dour65w.ttf
fonts/TrueType/fonts.dir
Sanity Checks
can't access fonts!
********************************
amrbuild failed for site::fonts!
********************************

I assume my system is missing a command to set up the fonts, but I don't
know what command that migh be.

Cheers,
Roger

James Quirk

unread,
Dec 7, 2009, 9:27:19 AM12/7/09
to Roger Mason, amrita...@googlegroups.com
Roger,

> fonts/TrueType/dour65w.ttf
> fonts/TrueType/fonts.dir
> Sanity Checks
> can't access fonts!
> ********************************
> amrbuild failed for site::fonts!
> ********************************
>
> I assume my system is missing a command to set up the fonts, but I don't
> know what command that migh be.
>
First check that you have the fonts. They should be located in:

$AMRITA/../SITE/fonts/TrueType/

The amrbuild script runs an:

xset fp+

on that directory so that your X server knows where the AMRITA-related
fonts are. The error message you're getting is from the sanity check:

xlsfonts

which is failing to see the newly added fonts. However it turns out
that the newer X servers no longer use the xset command to add fonts
in this fashion. So you will need to add the directory manually using
whatever mechanism your local setup provides. For example:

http://en.gentoo-wiki.com/wiki/X.Org/Fonts

suggests you will need to edit:

/etc/fonts/local.conf

James

James Quirk

unread,
Dec 8, 2009, 8:23:59 AM12/8/09
to Roger Mason, amrita...@googlegroups.com
Roger,

On Tue, 8 Dec 2009, Roger Mason wrote:

> Hello James,
>
> James Quirk <j...@galcit.caltech.edu> writes:
>
> > xlsfonts
> >
> > which is failing to see the newly added fonts. However it turns out
> > that the newer X servers no longer use the xset command to add fonts
> > in this fashion. So you will need to add the directory manually using
> > whatever mechanism your local setup provides. For example:
> >
> > http://en.gentoo-wiki.com/wiki/X.Org/Fonts
> >
> > suggests you will need to edit:
> >
> > /etc/fonts/local.conf
>
> It turned out I did not have xlsfonts installed. With that fixed
> everything woks well.
OK, glad to hear it.

James

>
> Cheers,
> Roger
>
Reply all
Reply to author
Forward
0 new messages