On Dec 19, 2007 5:48 AM, Aditya Mahajan <adityam@umich.edu> wrote:
On Tue, 18 Dec 2007, Aditya Mahajan wrote:

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

There is a typo in type-otf.tex. The following is wrong

\starttypescript [calligraphy] [chancery]
    \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default]


\starttypescript [calligraphy] [chancery]
    \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default]
\definetypeface   [mainface][rm][serif][pagella][default][encoding=texnansi]
\definetypeface   [mainface] [cg][calligraphy][chancery][default][encoding=texnansi]

\cg test

But compilation halts with

opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type- gyr.tex)
This went wrong: ...xtMKiv/tex/texmf-local/tex/context/base/font-tfm.lua:141: attempt to index local 'tfmdata' (a nil value)
error >> define font: font with name texnansi-qplr is not found.
<to be read again>
\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 \...
<argument> \getvalue {\@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle }\if...
l.10   [mainface,10pt]

texnansi-qplr is the problem here .

it's new .
it's powerful .
it's luatex .