ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A bug in latin modern fonts?
Date: Sat, 4 Feb 2012 20:18:17 +0200	[thread overview]
Message-ID: <20120204181817.GA13785@khaled-laptop> (raw)
In-Reply-To: <alpine.LNX.2.02.1202041232180.11721@ybpnyubfg.ybpnyqbznva>

On Sat, Feb 04, 2012 at 12:49:41PM -0500, Aditya Mahajan wrote:
> On Sat, 4 Feb 2012, Janne Junnila wrote:
> 
> >On Sun, Jan 29, 2012 at 12:42 PM, Janne Junnila <janne.junnila@gmail.com> 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           > otf loading > skipping cyclic reference U+00028 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 problems.
> >
> >\setupbodyfont[asana]
> >\starttext
> >
> >The function $f \colon \reals \to \reals$ is given by $x \mapsto x -
> >3$. Its derivative is
> >$f'(x) = 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
> \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 guess is that this is the font's fault; with asana $f^{'}$
> works fine. The same "bug" is also present with LMmath.

Looks like ‘ssty’ is not applied to script and scriptscript fonts,
Cambria and XITS can go away with it not applied since the default prime
glyphs is raised and small, but Asana (and I think Latin Modern Math)
primes won't look OK without this feature applied.

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
___________________________________________________________________________________

  reply	other threads:[~2012-02-04 18:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29 10:42 Janne Junnila
2012-02-04  8:15 ` Janne Junnila
2012-02-04 17:49   ` Aditya Mahajan
2012-02-04 18:18     ` Khaled Hosny [this message]
2012-02-04 20:03     ` Hans Hagen
2012-02-04 21:20       ` 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=20120204181817.GA13785@khaled-laptop \
    --to=khaledhosny@eglug.org \
    --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).