From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74303 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: A bug in latin modern fonts? Date: Sat, 4 Feb 2012 12:49:41 -0500 (EST) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1950167519-1328377788=:11721" X-Trace: dough.gmane.org 1328377813 9038 80.91.229.3 (4 Feb 2012 17:50:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2012 17:50:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 04 18:50:10 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtjkX-0001PO-S4 for gctc-ntg-context-518@m.gmane.org; Sat, 04 Feb 2012 18:50:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D43D4CB203; Sat, 4 Feb 2012 18:50:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4ZQ7tFskme9n; Sat, 4 Feb 2012 18:50:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C338CB1F4; Sat, 4 Feb 2012 18:50:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7ACD1CB1F4 for ; Sat, 4 Feb 2012 18:50:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KqLhnaQui7+H for ; Sat, 4 Feb 2012 18:49:53 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 813F1CB1EA for ; Sat, 4 Feb 2012 18:49:53 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q14HpKv7032409 for ; Sat, 4 Feb 2012 18:51:22 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096680022.dsl.bell.ca [65.94.2.86]) By hellskitchen.mr.itd.umich.edu ID 4F2D6FBC.A8CD8.23168 ; Authuser adityam; 4 Feb 2012 12:49:48 EST In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: No geolocation information available for 141.211.14.82 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0IGtRPl34 - 28dd48d7f7c8 - 20120204 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74303 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1950167519-1328377788=:11721 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 4 Feb 2012, Janne Junnila wrote: > On Sun, Jan 29, 2012 at 12:42 PM, Janne Junnila = wrote: >> Hi! >> >> The following example seems to have some troubles with the latin modern = fonts: >> >> \starttext >> >> The function $f \colon \reals \to \reals$ is given by $x \mapsto x - 3$. >> >> \stoptext >> >> The colon is printed fine, but the blackboard bold Rs don't look >> correct. The \mapsto symbol is missing and there's a hyphen instead of >> minus. >> >> Are others having the same issue? I tried to do a fresh install, but >> the problem persisted. There were some messages like >> >> fonts =A0 =A0 =A0 =A0 =A0 > otf loading > skipping cyclic reference U+00= 028 in >> math variant U+00028 >> >> during compiling. I don't know if they are related to the problem. > Hi, > > I would like to my previous message that also Asana-Math seems to have pr= oblems. > > \setupbodyfont[asana] > \starttext > > The function $f \colon \reals \to \reals$ is given by $x \mapsto x - > 3$. Its derivative is > $f'(x) =3D 1$. > > \stoptext > > In the above the ' in f'(x) looks wrong and there's hyphen instead of > minus at x - 3. > The problems arise in the current standalone, the latest stable one > worked OK at least > for the latin modern fonts. The reference implementatation for math handling is cambria. With cambria $f'(x)$ and $\mapsto$ work fine. But $a-b$ gives text minus, and $a=20 \colonequals b$ gives an error. @Hans and Khaled: Any idea why this is happening? \starttext \setupbodyfont[cambria] $a-b$ % text minus $a \colonequals b$ % error \stoptext $f'(x)$ works fine with cambria and xits, but is placed low with asana. My= =20 guess is that this is the font's fault; with asana $f^{'}$ works fine.=20 The same "bug" is also present with LMmath. The symbol \mapsto appears to be missing from asana and lmmath. ConTeXt=20 currently does not use fall backs for missing math glyphs. Finally, $\reals$ works correctly with cambria, asana, lmmath, and xtis.=20 It does not work with euler, but that is because euler is missing=20 blackboard gylphs. So, to summarize: 1. - (minus), is clearly a bug in ConTeXt. 2. \colonequals is a bug in ConTeXt's definition. We should be using the=20 glyph from the font anyways and falling back only if the glyph is missing. 3. \mapsto glyph is missing from lmmath and asana. We need to fall back to= =20 composed glyphs. 4. \reals is working fine. The shape of the glyph in lmmath is unusual,=20 but that should be a font issue rather than a context issue. Aditya --8323328-1950167519-1328377788=:11721 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-1950167519-1328377788=:11721--