ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Incorrect rendering of * with UTF math fonts
Date: Wed, 22 Feb 2012 21:31:43 +0100	[thread overview]
Message-ID: <C191AAEF-2FE5-45C3-A1E5-D5B9B9521C57@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1202221447320.732@ybpnyubfg.ybpnyqbznva>

Hi Aditya,

I tried your code: as you say with LM there is no problem, but with the simplefonts module nothing i stypeset since I get an error message:

<to be read again> 
                   \3>simplefonts:1-12pt-mm-mr--3 
\font_helpers_preset_math_family_indeed ...csname 
                                                  \scriptfont #1\csname \??f...
\font_helpers_set_math_family ...amily_indeed #1#2
                                                  \else \font_helpers_set_ma...
\font_helpers_bidirectional_mathstrategy_nop ...r 
                                                  \textfont \c_font_fam_mr_r...
<inserted text> ...bidirectional_mathstrategy_nop 
                                                  \fi \font_helpers_apply_co...
\font_helpers_synchronize_math ...math_strategies 
                                                  \fi 
...

This is with ConTeXt  ver: 2012.02.21 00:51 MKIV.

Best regards: OK

On 22 févr. 2012, at 20:52, 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
> 
> 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.
> 
> Aditya
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-02-22 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 19:52 Aditya Mahajan
2012-02-22 20:31 ` Otared Kavian [this message]
2012-02-22 20:47   ` Wolfgang Schuster
2012-02-22 21:28     ` Otared Kavian
2012-02-22 21:35       ` Wolfgang Schuster
2012-02-22 21:53 ` Khaled Hosny
2012-02-22 22:22   ` Aditya Mahajan

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=C191AAEF-2FE5-45C3-A1E5-D5B9B9521C57@gmail.com \
    --to=otared@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).