lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing ecrb10, how do I build it


From: Karl Hammar
Subject: Re: missing ecrb10, how do I build it
Date: Fri, 8 Oct 2004 20:36:50 +0200

BTW. it should say ecrb10 in the subject line above.

address@hidden:

> There should be no reason to build it yourself. See previous

4.8MB vs 4k is a good reason, esp. for a POTS modem user.
The problem is that the makefile doesn't build all fonts, see below.

> announcements on Debian packages for LilyPond 2.3.x in the
> mailing list archives.

I have seen them.

> I'm not familiar with the details of the Debian installation,
> but the first step should be to run 'texhash' as root to make
> sure that the file name database is up to date.
> Next, check that you have the file ecrb10.tfm, among others in
> /usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/
> (the directory path should be something like that) and that the
> command
> kpsewhich ecrb10.tfm
> returns the same path.

Oh, the debian part presents no problem, fonts get installed and can be used:

  $ kpsewhich ecrm8.tfm
  /usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ecrm8.tfm
  $ mktexpk   ecrm8
  mktexpk: Running mf-nowin -progname=mf \mode:=qmstftf; mag:=1.0; nonstopmode; 
input ecrm8
  This is METAFONT, Version 2.7182 (Web2C 7.4.5)

  (/var/cache/fonts/source/jknappen/ec/ecrm8.mf
  (/usr/share/texmf/fonts/source/jknappen/ec/exbase.mf)
  (/usr/share/texmf/fonts/source/jknappen/ec/ecrm.mf
  (/usr/share/texmf/fonts/source/jknappen/ec/exroman.mf
   Ok (/usr/share/texmf/fonts/source/jknappen/ec/exaccess.mf
   Ok) (/usr/share/texmf/fonts/source/jknappen/ec/expseudo.mf
   Ok) (/usr/share/texmf/fonts/source/jknappen/ec/exruwest.mf
   Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203]
..
   Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57])
  (/usr/share/texmf/fonts/source/jknappen/ec/exrligtb.mf
   Ok) ) ) )
  (some charht values had to be adjusted by as much as 0.06445pt)
  Font metrics written on ecrm8.tfm.
  Output written on ecrm8.1200gf (256 characters, 78972 bytes).
  Transcript written on ecrm8.log.
  mktexpk: /var/cache/fonts/pk/qmstftf/public/ec-fonts-mftraced/ecrm8.1200pk: 
successfully generated.
  /var/cache/fonts/pk/qmstftf/public/ec-fonts-mftraced/ecrm8.1200pk
  $ 

The problem is that the available file:

 http://lilypond.org/download/fonts/ec-fonts-mftraced-1.0.1.tar.gz

is not up to date. It doesn't build all fonts:

  $ ls /usr/share/texmf/fonts/tfm/public/ec-fonts-mftraced/ 
  ecbi10.tfm  ecbx5.tfm   ecrm12.tfm  ecsc12.tfm  ecss12.tfm    ecti8.tfm
  ecbi12.tfm  ecbx6.tfm   ecrm17.tfm  ecsc14.tfm  ecss17.tfm    ecti9.tfm
  ecbi14.tfm  ecbx7.tfm   ecrm5.tfm   ecsc9.tfm   ecss8.tfm     ectt10.tfm
  ecbi17.tfm  ecbx8.tfm   ecrm6.tfm   ecsl10.tfm  ecss9.tfm     ectt12.tfm
  ecbi8.tfm   ecbx9.tfm   ecrm7.tfm   ecsl12.tfm  ecssdc10.tfm  ectt8.tfm
  ecbi9.tfm   eccc10.tfm  ecrm8.tfm   ecsl8.tfm   ecti10.tfm    ectt9.tfm
  ecbx10.tfm  eccc12.tfm  ecrm9.tfm   ecsl9.tfm   ecti12.tfm
  ecbx12.tfm  ecrm10.tfm  ecsc10.tfm  ecss10.tfm  ecti7.tfm

Consider theese patches:

  $ cd ec-fonts-mftraced-1.0.1
  $ diff -u GNUmakefile.org GNUmakefile
  --- GNUmakefile.org     2004-10-08 20:17:11.000000000 +0200
  +++ GNUmakefile         2004-10-08 20:15:29.000000000 +0200
  @@ -1,7 +1,7 @@
   # trace EC fonts into TFM and PFA

   ECFONTS= ecbx10 ecbx12 ecbx5 ecbx6\
  -       ecbx7 ecbx8 ecbx9  ecrm10 ecrm12\
  +       ecbx7 ecbx8 ecbx9 ecrb10 ecrm10 ecrm12\
          ecrm17 ecrm5 ecrm6 ecrm7 ecrm8 ecrm9 ecsl10\
          ecsl12 ecsl8 ecsl9 ecsc9 ecsc10 ecsc12 ecsc14  eccc10 eccc12 \
          ecbi8 ecbi9 ecbi10 ecbi12 ecbi14 ecbi17 \
  $ diff -u debian/ecfonts.hints.org debian/ecfonts.hints
  --- debian/ecfonts.hints.org    2004-10-08 15:43:47.000000000 +0200
  +++ debian/ecfonts.hints        2004-10-08 20:19:10.000000000 +0200
  @@ -149,6 +149,16 @@
     Shape = Normal Upright
     Priority = 20
   end
  +begin /path/to/pfa/ecrb10.pfa
  +  FontName = ecrb10
  +  Charset = font-specific
  +  Family = ecrb10
  +  GeneralFamily = Roman
  +  Weight = regular
  +  Width = Variable
  +  Shape = Normal Upright
  +  Priority = 20
  +end
   begin /path/to/pfa/ecrm10.pfa
     FontName = ecrm10
     Charset = font-specific

The ecfonts.hints patch is a guess, I don't know the correct values there.
The makefile patch gives me:

  $ fakeroot debian/rules binary
  test -f debian/rules
  test root = "`whoami`"
  test -f debian/rules
  test -f debian/rules
  rm -rf debian/tmp
  install -d debian/tmp
  cd debian/tmp && install -d `cat ../dirs`
  /usr/bin/make TEXCONFDIR='$(sysconfdir)/etc/texmf' install 
DESTDIR=`pwd`/debian/tmp
  make[1]: Entering directory `/home/karl/most/music/ec-fonts-mftraced-1.0.1'
  make[1]: [tfm/ecrb10.tfm] Error 1 (ignored)
  mktextfm ecrb10 > output-path
  mktextfm: Running mf-nowin -progname=mf \mode:=qmstftf; mag:=1; nonstopmode; 
input ecrb10
  This is METAFONT, Version 2.7182 (Web2C 7.4.5)

  kpathsea: Running mktexmf ecrb10
  mktexmf: /var/cache/fonts/source/jknappen/ec/ecrb10.mf: successfully 
generated.
  (/var/cache/fonts/source/jknappen/ec/ecrb10.mf
  (/usr/share/texmf/fonts/source/jknappen/ec/exbase.mf)
..

So what I need is the up to date build files.
Could someone please tell me where they are ?

> Karl Hammar wrote:
> > Lilypond complains about missing exrb10 (see log below).
> > 
> > http://lilypond.org/download/fonts/ says:
> > 

Is this the correct cvs-server:

> >  cvs -d :ext:address@hidden:/cvsroot/lilypond co sauter-fonts-mtraced
> > 
> > but that doesn't work (it just sits there). Is subversions.org the right 
> > site ?
> > 
> > I have downloaded:
> >  http://lilypond.org/download/fonts/ec-fonts-mftraced-1.0.1.tar.gz
> > 
> > Done:
> >   $ tar zxf ec-fonts-mftraced-1.0.1.tar.gz
> >   $ cd ec-fonts-mftraced-1.0.1
> >   $ fakeroot debian/rules binary
> > 
> >   # dpkg -i .../sauter-fonts-mftraced_1.0.1-1_all.deb
..

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data               address@hidden
Lilla Aspö 2340                                                Networks
S-742 94 Östhammar          +46  173 140 57                   Computers
Sweden                     +46  70 511 97 84                 Consulting
-----------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]