ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Zapf Chancery and mkiv
Date: Tue, 18 Dec 2007 18:15:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.0.9999.0712181806530.22319@nqv-yncgbc> (raw)

Hi,

There is something wrong with the mappings for zapf chancery in mkiv.

Minimal example

\usetypescriptfile[type-gyr]
\definetypeface   [mainface] 
[rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface] [cg][calligraphy][chancery][default]
                   [encoding=texnansi]
\setupbodyfont
   [mainface,10pt]

\starttext
\cg test
\stoptext


Gives

This went wrong: /home/adityam/texmf/tex/context/base/font-tfm.lua:141: attempt to index local 'tfmdata' (a nil value)
error >> define font: font with name texgyrechorus-regular is not found.
<to be read again>
                    \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                   \let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname
                                                   \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                   \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies
                                                   \relax \fi \iftryingfont \...
l.9 \cg
         test
? r
OK, entering \nonstopmode...
! Font \*mainface10ptcgtfcg*:=texgyrechorus-regular*default at 10pt not loadable: metric data not found or bad.
<to be read again>
                    \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                   \let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname
                                                   \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                   \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies
                                                   \relax \fi \iftryingfont \...
l.9 \cg
         test

I get the same error on contextgarden. Only texgyrechorus-italicmedium.otf 
is availabe from tex-gyre website. But context is looking for 
texgyrechorus-regular and cannot find it. The same file works with mkii.

Aditya

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2007-12-18 23:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 23:15 Aditya Mahajan [this message]
2007-12-18 23:38 ` Arthur Reutenauer
2007-12-19  4:39   ` Aditya Mahajan
2007-12-19  4:48 ` Aditya Mahajan
2007-12-19  5:37   ` luigi scarso
2007-12-19 10:43     ` Aditya Mahajan
2007-12-19 11:16     ` Mojca Miklavec
2007-12-19 11:27       ` Aditya Mahajan
2007-12-19 11:36       ` luigi scarso
2007-12-19 11:44         ` Mojca Miklavec
2007-12-19 12:06         ` Aditya Mahajan
2008-01-14 19:43   ` Aditya Mahajan
2008-01-14 21:42     ` Aditya Mahajan
2008-01-15  9:35       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.0.9999.0712181806530.22319@nqv-yncgbc \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).