From: Yue Wang <yuleopen@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Please fix this
Date: Fri, 30 Jan 2009 11:53:46 +0800 [thread overview]
Message-ID: <68bfdc900901291953y4f21472bq1d19db8474297b0@mail.gmail.com> (raw)
In-Reply-To: <68bfdc900901291930n2e258ee3ue41fac870a57bb7@mail.gmail.com>
sorry for the noise, after switching to experimental, the problem is solved.
On Fri, Jan 30, 2009 at 11:30 AM, Yue Wang <yuleopen@gmail.com> wrote:
> Hi,
> Myriad Pro is not working in recent version of ConTeXt (the same
> source works well in last release).
> Here is the code:
> \starttypescript[all][myfont][name]
> \definefontsynonym[Myriad][MyriadPro-Regular]
> \definefontsynonym[MyriadBold][MyriadPro-Bold]
> \definefontsynonym[MyriadItalic][MyriadPro-It]
> \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt]
> \stoptypescript
>
> \starttypescript[sans][myfont][name]
> \definefontsynonym[Sans][Myriad]
> \definefontsynonym[SansBold][MyriadBold]
> \definefontsynonym[SansItalic][MyriadItalic]
> \definefontsynonym[SansBoldItalic][MyriadBoldItalic]
> \definefontsynonym[SansSlanted][MyriadItalic]
> \definefontsynonym[SansBoldSlanted][MyriadBoldItalic]
> \definefontsynonym[SansCaps][Myriad]
> \stoptypescript
>
> \definetypeface [myfont] [ss] [sans] [myfont] [default]
> \usetypescript[myfont]
> \setupbodyfont[myfont,ss, 12pt]
> \starttext
> \input zapf
> \stoptext
>
> Here is the log:
>
> This is luaTeX, Version snapshot-0.31.3-2008122922
> (a1.tex
>
> ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.1.30 int: english/english
>
> system : cont-new loaded
> (D:/context/tex/texmf-context/tex/context/base/cont-new.tex
> systems : beware: some patches loaded from cont-new.tex
> (D:/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
> (D:/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
> system : cont-fil loaded
> (D:/context/tex/texmf-context/tex/context/base/cont-fil.tex
> loading : Context File Synonyms
> )
> system : cont-sys.rme loaded
> (D:/context/tex/texmf-context/tex/context/user/cont-sys.rme
> (D:/context/tex/texmf-context/tex/context/base/type-tmf.tex)
> (D:/context/tex/texmf-context/tex/context/base/type-siz.tex)
> (D:/context/tex/texmf-context/tex/context/base/type-otf.tex))
> bodyfont : 12pt rm is loaded
> specials : pdftex loaded
> language : language en is active
> system : a1.top loaded
> (a1.top)
> load otf | loading: D:/context/tex/texmf-fonts/fonts/opentype/Myriad
> Pro/MyriadPro-Regular.otf
> load otf | warning: The following table(s) in the font have been
> ignored by FontForge
> load otf | warning: Ignoring 'DSIG' digital signature table
> load otf | warning: Warning: Mac and Windows entries in the 'name'
> table differ for the
> Fullname string in the language English (US)
> Mac String: Myriad Pro
> Windows String: MyriadPro-Regular
> load otf | warning: The glyph named mu is mapped to U+00B5.
> But its name indicates it should be mapped to U+03BC.
> load otf | enhance: patch bugs
> load otf | enhance: merge cid fonts
> load otf | enhance: prepare unicode
> load otf | 11 glyph are reused: space hyphen Tcommaaccent tcommaaccent
> macron Omega fraction periodcentered Delta Scedilla scedilla
> load otf | enhance: cleanup ttf tables
> load otf | enhance: compact glyphs
> load otf | enhance: reverse coverage
> load otf | enhance: enrich with features
> load otf | enhance: registering tlig feature
> load otf | enhance: registering trep feature
> load otf | enhance: reorganize kerns
> load otf | replacing 'kerns' tables by 'mykerns' tables
> load otf | removing global 'kern' table
> load otf | adding kernclass pp_l_1_k_1 with 72 times 62 pairs
> ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:828:
> attempt to index local 'glyph' (a nil value)
> stack traceback:
> ...text/tex/texmf-context/tex/context/base/font-otf.lua:828: in
> function 'enhancer'
> ...text/tex/texmf-context/tex/context/base/font-otf.lua:300: in
> function 'enhance'
> ...text/tex/texmf-context/tex/context/base/font-otf.lua:350: in function 'load'
> ...text/tex/texmf-context/tex/context/base/font-otf.lua:1113: in
> function 'otf_to_tfm'
> ...text/tex/texmf-context/tex/context/base/font-otf.lua:1252: in
> function 'read_from_open_type'
> ...text/tex/texmf-context/tex/context/base/font-def.lua:352: in
> function <...text/tex/texmf-context/tex/context/base/font-def.lua:334>
> (tail call): ?
> ...text/tex/texmf-context/tex/context/base/font-def.lua:279: in function 'read'
> ...text/tex/texmf-context/tex/context/base/font-def.lua:661: in function 'read'
> ...text/tex/texmf-context/tex/context/base/font-def.lua:767: in
> function 'command_2'
> <main ctx instance>:1: in main chunk.
> \lowleveldefinefont ...s ", "\@@fontfallbacks " )}
> \edef \somefontspec {at \s...
> \xxdododefinefont ...efont {#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.20 \setupbodyfont[myfont,ss, 12pt]
>
> ?
>
>
> Hope this helps debugging.
>
> Yue Wang
>
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-01-30 3:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 3:30 Yue Wang
2009-01-30 3:53 ` Yue Wang [this message]
2009-01-30 4:24 ` Yue Wang
[not found] ` <6faad9f00901300021s2283f596gb4ed3bf05ef8d1c2@mail.gmail.com>
2009-01-30 8:31 ` Yue Wang
2009-01-30 14:11 ` 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=68bfdc900901291953y4f21472bq1d19db8474297b0@mail.gmail.com \
--to=yuleopen@gmail.com \
--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).