Texfont from ConTeXt package fails to install new fonts

Bug #208581 reported by Corin Royal Drummond
6
Affects Status Importance Assigned to Milestone
context (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: context

I'm read the documentation on the ConTeXt package, and am trying to use 'texfont' to install some new commercial truetype fonts. The program fails with the following error:

# texfont --ve=sil --co=gentium --makepath --install

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

    processing aborted : unknown tex root

                --help : show some more info

I've tried in Gutsy and in the Hardy Beta, and they both fail equally.

When I try to set the font root explicitly from the command line (/usr/share/texmf/fonts), it fails more verbosely, complaining about not being able to find the font 'map' files which on Debian-based systems is under /var/lib/texmf/fonts

It would appear that the linux file system standard has confused ConTeXt as to where to put things. Looks like the package maintainer needs to make sure ConTeXt is better aware of it's directories.

Here's the output of 'texfont' with an explicit TeX root switch:

p# texfont --ve=sil --co=gentium --makepath --install --fontroot=/usr/share/texmf/fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

       encoding vector : texnansi
           vendor name : sil
           source path : .
       font collection : gentium
       texmf font root : /usr/share/texmf/fonts
         map file name : texnansi-sil-gentium.map
           source path : .
      processing files : all on afm path
    locating afm files : using pattern ./*.afm
    locating afm files : using ttf files
   generating afm file : ./genal102.afm
   generating afm file : ./genar102.afm
   generating afm file : ./genl102.afm
   generating afm file : ./genr102.afm
         copying files : afm
               copying : genal102.afm
               copying : genar102.afm
               copying : genl102.afm
               copying : genr102.afm
         copying files : pfb
         copying files : ttf
               copying : genal102.ttf
               copying : genar102.ttf
               copying : genl102.ttf
               copying : genr102.ttf
        no map file at : /usr/share/texmf/fonts/fonts/map/pdftex/context/texnansi-sil-gentium.map
        no map file at : /usr/share/texmf/fonts/fonts/map/dvips/context/texnansi-sil-gentium.map
        no map file at : /usr/share/texmf/fonts/fonts/map/dvipdfm/context/texnansi-sil-gentium.map
afm2tfm: fatal: enc files file `texnansi.enc' not found.

       font identifier : -> text -> tfm + vf
generating raw tfm/vpl : texnansi-raw-genal102 (from genal102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.
     generating new vf : texnansi-genal102 (from texnansi-genal102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.

       font identifier : -> text -> tfm + vf
generating raw tfm/vpl : texnansi-raw-genar102 (from genar102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.
     generating new vf : texnansi-genar102 (from texnansi-genar102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.

       font identifier : -> text -> tfm + vf
generating raw tfm/vpl : texnansi-raw-genl102 (from genl102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.
     generating new vf : texnansi-genl102 (from texnansi-genl102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.

       font identifier : -> text -> tfm + vf
generating raw tfm/vpl : texnansi-raw-genr102 (from genr102)
afm2tfm: fatal: enc files file `texnansi.enc' not found.
     generating new vf : texnansi-genr102 (from texnansi-genr102)
     updating map file : texnansi-sil-gentium.map (for pdftex)
     updating map file : texnansi-sil-gentium.map (for dvipdfm)
     updating map file : texnansi-sil-gentium.map (for dvips)

            generating : ls-r databases

mktexlsr: Updating /usr/share/texmf/fonts/ls-R...
mktexlsr: Done.

Revision history for this message
Corin Royal Drummond (corinroyal) wrote :

My bad, actually it's not the font map files that aren't being found, but the texnansi.enc encoding file.

Revision history for this message
mbana (m.bana) wrote :

Corin, what did you mean, I'm quiet baffled as to how to fixed it.

Changed in context (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.