From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74656 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Incorrect rendering of * with UTF math fonts Date: Wed, 22 Feb 2012 23:53:12 +0200 Message-ID: <20120222215312.GA16395@khaled-laptop> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329947622 31605 80.91.229.3 (22 Feb 2012 21:53:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 21:53:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 22 22:53:41 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 1S0K85-0002Or-Ab for gctc-ntg-context-518@m.gmane.org; Wed, 22 Feb 2012 22:53:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B129BCB24E; Wed, 22 Feb 2012 22:53:40 +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 39lPIuHGbKiR; Wed, 22 Feb 2012 22:53:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00425CB243; Wed, 22 Feb 2012 22:53:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82644CB243 for ; Wed, 22 Feb 2012 22:53:36 +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 Db2JfQkkpdt6 for ; Wed, 22 Feb 2012 22:53:25 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 96E59CB23C for ; Wed, 22 Feb 2012 22:53:25 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1MLrOqm016478 for ; Wed, 22 Feb 2012 22:53:24 +0100 Original-Received: by eekc13 with SMTP id c13so306746eek.14 for ; Wed, 22 Feb 2012 13:53:24 -0800 (PST) Received-SPF: pass (google.com: domain of dr.khaled.hosny@gmail.com designates 10.14.96.65 as permitted sender) client-ip=10.14.96.65; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dr.khaled.hosny@gmail.com designates 10.14.96.65 as permitted sender) smtp.mail=dr.khaled.hosny@gmail.com; dkim=pass header.i=dr.khaled.hosny@gmail.com Original-Received: from mr.google.com ([10.14.96.65]) by 10.14.96.65 with SMTP id q41mr16061175eef.99.1329947604426 (num_hops = 1); Wed, 22 Feb 2012 13:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=HSEiTHoyqA4O7p+3vXBYlNiRQyeqQWe5oLCzegN4OWY=; b=qd2/f3lepnSjdEdACl/k8trbelSpzxGbqZaCt6hCZbcEwrO6IzCh+n/DFV/uGgdDhS n7YS+l0QCIK7HoJna0uR3zVANnxl2x1w8llvtTQ2U7hi6PMrwNwxax9jo910Cavu/Nea OYYwMN7M7KsjiiBgNnBhNWoT3ipzzHgffqtxI= Original-Received: by 10.14.96.65 with SMTP id q41mr12870550eef.99.1329947604252; Wed, 22 Feb 2012 13:53:24 -0800 (PST) Original-Received: from localhost ([217.55.102.94]) by mx.google.com with ESMTPS id u9sm90096695eem.11.2012.02.22.13.53.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Feb 2012 13:53:23 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; 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: 08GB9Ro5S - f311e4600325 - 20120222 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:74656 Archived-At: On Wed, Feb 22, 2012 at 02:52:22PM -0500, Aditya Mahajan wrote: > Hi, > > Using * in superscripts gives wrong glyph size and spacing. > > For example, with LM math everyhing looks fine: > > \starttext > $x^*$ vs $x^{\ast}$ > \stoptext For me this is typeset using LM Type1 fonts, not the OpenType LM math font which explains why both are correct, after adding \setupbodyfont[modern] the first * is raised than the other but still readable. > With Cambria, the result is OK (but you can still see the > differences in the spacing of * in x^*) > > \usemodule[simplefonts] > \setmathfont[Cambria] > \starttext > $x^*$ vs $x^{\ast}$ > \stoptext > > With Neo Euler, $x^*$ look really bad. > > \usemodule[simplefonts] > \setmathfont[Cambria] > \starttext > $x^*$ vs $x^{\ast}$ > \stoptext > > I cannot figure out why this is happening. It definitely looks like > a bug at the context end rather than a bug with the fonts. It seems that * in math mode should map to U+2217 (which is what \ast maps to) and not the ASCII asterisk. Regards, Khaled ___________________________________________________________________________________ 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 ___________________________________________________________________________________