From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47105 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: Please fix this Date: Fri, 30 Jan 2009 11:53:46 +0800 Message-ID: <68bfdc900901291953y4f21472bq1d19db8474297b0@mail.gmail.com> References: <68bfdc900901291930n2e258ee3ue41fac870a57bb7@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233287808 12844 80.91.229.12 (30 Jan 2009 03:56:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2009 03:56:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 30 04:58:01 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LSkW1-00056p-0K for gctc-ntg-context-518@m.gmane.org; Fri, 30 Jan 2009 04:58:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 833D91FD54; Fri, 30 Jan 2009 04:56:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28897-02; Fri, 30 Jan 2009 04:54:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D95811FCF4; Fri, 30 Jan 2009 04:54:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 63C641FCF4 for ; Fri, 30 Jan 2009 04:54:48 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25135-03-3 for ; Fri, 30 Jan 2009 04:53:49 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id BDB0C1FC24 for ; Fri, 30 Jan 2009 04:53:48 +0100 (CET) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0U3rlr0004698 for ; Fri, 30 Jan 2009 04:53:47 +0100 Original-Received: by wa-out-1112.google.com with SMTP id j4so136427wah.2 for ; Thu, 29 Jan 2009 19:53:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=l//tYGDy0+cjZvME53qsIA/iAxH8p6Y4wllHY4k1l3I=; b=MjP2O/2sUbj5BHFOyPwrjudUh7SulBAf9PyDc2fvz2MlJrpBKdZaYH7HI4CialV9sh WvfdQn4FvFEITjPlECmIk/9ZJpC4SlP6r4Xf/yZLbxTlZ5AFYthCyp1Qvfy4wECLTsmS h3YhvHSgbdcXfhWAaNGoxhYh2sIsvirruOzW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=j0Vrhof2t3R1P487BQAvrcqpvS1tF7zRCW3wQdADNjGvagMeEwEfhKViQEuRvSBqpT Fh+A27lupk3cOxAmIO7q0IsKWgq4lMdMAf20Ezvi5AjiC+rYWM/vTl7pQcR5DNW2zkEn 7j6TXSJeZyUp+edyTN4o8YBpI5kfyPKyD2New= Original-Received: by 10.114.194.1 with SMTP id r1mr492192waf.18.1233287626174; Thu, 29 Jan 2009 19:53:46 -0800 (PST) In-Reply-To: <68bfdc900901291930n2e258ee3ue41fac870a57bb7@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.146.179; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 172588125 - 28acb4d4d87f X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47105 Archived-At: sorry for the noise, after switching to experimental, the problem is solved. On Fri, Jan 30, 2009 at 11:30 AM, Yue Wang 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' >
: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 > ...yle \fontalternative \fontsize > \fi \iftryingfont \fontstr... > \synchronizefont ...strategy \the \fontstrategies > \relax \fi \iftryingfont \... > \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 ___________________________________________________________________________________