ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Zapf Chancery and mkiv
@ 2007-12-18 23:15 Aditya Mahajan
  2007-12-18 23:38 ` Arthur Reutenauer
  2007-12-19  4:48 ` Aditya Mahajan
  0 siblings, 2 replies; 14+ messages in thread
From: Aditya Mahajan @ 2007-12-18 23:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-01-15  9:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-18 23:15 Zapf Chancery and mkiv Aditya Mahajan
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

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).