From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47104 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Please fix this Date: Fri, 30 Jan 2009 11:30:07 +0800 Message-ID: <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 1233286383 10308 80.91.229.12 (30 Jan 2009 03:33:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2009 03:33:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 30 04:34:16 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 1LSk8y-00010Q-Mu for gctc-ntg-context-518@m.gmane.org; Fri, 30 Jan 2009 04:34:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84B561FD1B; Fri, 30 Jan 2009 04:32:51 +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 27148-02-2; Fri, 30 Jan 2009 04:31:43 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5C501FCC7; Fri, 30 Jan 2009 04:31:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 916331FD12 for ; Fri, 30 Jan 2009 04:31:02 +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 27148-02 for ; Fri, 30 Jan 2009 04:30:11 +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 F010B1FB64 for ; Fri, 30 Jan 2009 04:30:10 +0100 (CET) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0U3U80H027385 for ; Fri, 30 Jan 2009 04:30:09 +0100 Original-Received: by wa-out-1112.google.com with SMTP id j4so132368wah.2 for ; Thu, 29 Jan 2009 19:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rbfPBEAcMTxo9i6NfJSjJ/WGY8fpIXbNM8xVUcy/PMw=; b=VaxZLwXxtSx42S0nTcatLvfszvw73zWwq6g+KoXI6QF4sk2HDL/8HLOjR8pX2SruyT +N+DnZuD/HKrxYTPmyXVsgw8zg1V3ZgvqRvaDDLHysMlRme6x4hoF3neDWRQnjq/9gN9 CoaiAHiLZrw++ZRNmn93cHwILi/D5NJlmEvy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=LO3R5jzmkgInWoWjk0izkd+q4tPThQ3eAzDIL4eunGJMJflbJExzc9Wy0qLy2m5i0A fOlKKldm9JRJbVr+cEqfBHMpfKLN5NEdWggvga8sGN/W4+dBj2HHH++RYK47lCksidyz /rGvg/P1oZXJaLvopG6dZeS6nHMD2V57+wrxI= Original-Received: by 10.114.72.1 with SMTP id u1mr457291waa.203.1233286207994; Thu, 29 Jan 2009 19:30:07 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.146.178; 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: 172585619 - 5e6a743227e1 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:47104 Archived-At: 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 ___________________________________________________________________________________