You are not logged in.

#1 2004-07-22 10:15:16

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

Hey all.

I'm trying to install a music program called Lilypond, for my girlfriend, as an example of how easy (heh) linux is to use.

Now, to use this particular version, I need to install some fonts. ec-fonts-mftraced, to be exact.

The Lilypond site provides downloads for the fonts here

There is an rpm, deb, and tar.gz version, none of which I've managed to install from. I've tried using

rpmunpack | gzip -d | cpio -uid

as (kind of) per the instructions:

EC-FONTS-MFTRACED

GNU LilyPond 2.3.x needs TeX (if you are using the TeX backend) and
PostScript Type1 PFA/PFB fonts with full internationalisation support.
By default, LilyPond uses the ec* family.

INSTALLING EC FONTS

The binany RPM and DEB packages should be installable on any RPM or
DEB based system.

If you do not have such a system, install either

  * the RPM, like so
     rpm2cpio ec-fonts-mftraced-1.0.2-1.noarch.rpm | cpio -uid
     mktexlsr

  * or the DEB, 

     ar p ec-fonts-mftraced_1.0.2-1_all.deb data.tar.gz | tar zxf -
     mktexlsr

BUILDING FROM SOURCE

cvs -d :ext:anoncvs@subversions.gnu.org:/cvsroot/lilypond co sauter-fonts-mtraced

cd sauter-fonts-mtraced
make all install
mktexlsr

I can't get anything to work though, nor can I install the fonts thru KDE control centre.

Can anyone help me with this problem?

Much appreciated,
Thom.

Offline

#2 2004-07-23 04:35:49

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

When you run tar -zxf...  on the ...tar.gz file you will end up with a directory.  The fonts are probably just sitting in a subdir in that directoy.  Change to root and move that dir where the fonts are to: 

/usr/X11R6/lib/X11/fonts

Then run:

fc-cache -v

Every subdir in that location is added to the font list (specified in /etc/fonts/fonts.conf).  If there is still a problem, you can also add the font dir to /etc/X11/xorg.conf (or XF86Config if you are using it still)  under the "Files" Section, there are already a few dirs there, so the format is obvious...

    FontPath   "/usr/X11R6/lib/X11/fonts/your_new_fonts_dir"

Offline

#3 2004-07-23 05:38:23

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

rpmunpack doesn't output to stdout.  It just writes a .cpio.gz file to the filesystem.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#4 2004-07-23 10:13:40

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

Not quite sure what the significance of that is Xentac - something to do with the '|' piping?

Cheers colnago, I'm gonna try that now. I thought I could do something like that, wasn't sure which font directory to use though.

I'll see how it works...

T

Offline

#5 2004-07-23 19:45:40

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

I tried here to see what happens.  The fonts are not in the pkg, you have to actually make them.  It gave me a bunch of errors even though I have latex installed and the mf files were there.  I will ask around at work, someone there will have run into this before.

Offline

#6 2004-07-24 10:41:40

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

No luck yet, I tried compiling those fonts too, no luck.

In fact I can't compile half the stuff required, it's pretty cack.

Offline

#7 2004-09-05 16:08:34

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: HOW to install fonts from rpm/tar.gz (ec-fonts-mftraced)

You need t1utils (an easy compile), potrace (or autotrace), tetex, and python so you can compile mftrace.

mftrace PKGBUILD is at the bottom of http://bbs.archlinux.org/viewtopic.php?t=6450
Then you need to:

cd /usr/share/mftrace/
import filelib 


Here's the PKGBUILD for ec-fonts-mftraced:
http://bbs.archlinux.org/viewtopic.php?t=6451

Fontforge I think helps it compile faster (??)

All of the above-mentioned packages that aren't available via pacman have been uploaded to ftp.archlinux.org/incoming


fffft!

Offline

Board footer

Powered by FluxBB