xits font: some spacing and scaling problems
![](https://secure.gravatar.com/avatar/a9569c0144001424e70287ebde8f600e.jpg?s=120&d=mm&r=g)
Hi there, Not quite sure if this is the right place. I wanted to send this directly to Khaled Hosny, but then I thought it might be good to have some additional opinion on some of these issues (I am not quite sure if some of this is intended behaviour). I have collected some examples for which I think there are some scaling and spacing problems in xits. Also, small caps are not supported. Is this intended?! Thanks for your help. Cheers, Andreas %%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%% \setupbodyfont[xits,11pt] \starttext $\diamond$ % too small?! $\square$ % OK?! $\blacktriangleright$ % too big?! $\blacktriangleleft$ % too big?! $\blacktriangle$ % too big?! $\blacktriangledown$ % too big?! {\sc Word} % not supported ?! $\tilde{W}^i$ $W^i$ % using a superscript in case % an accent is used results in % a too small distance between letter % and superscript $f^i$ % distance too small (seems to be just the case for $f$, see e.g. $h^i$ $t^i$) \stoptext %%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%%
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
On Thu, Sep 27, 2012 at 04:58:11PM +0200, Andreas Mang wrote:
Hi there,
Not quite sure if this is the right place. I wanted to send this directly to Khaled Hosny, but then I thought it might be good to have some additional opinion on some of these issues (I am not quite sure if some of this is intended behaviour).
I have collected some examples for which I think there are some scaling and spacing problems in xits.
Also, small caps are not supported. Is this intended?!
Thanks for your help.
Cheers, Andreas
%%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%% \setupbodyfont[xits,11pt]
\starttext $\diamond$ % too small?!
$\square$ % OK?!
$\blacktriangleright$ % too big?!
$\blacktriangleleft$ % too big?!
$\blacktriangle$ % too big?!
$\blacktriangledown$ % too big?!
None of those glyphs were changed in XITS, they are exactly the same as the ones in STIX fonts, so possibly ConTeXt is using the wrong Unicode character for those symbols. The later two are smaller with LaTeX package unicode-math.
{\sc Word} % not supported ?!
Right, there is no smallcaps, probably you can use some other Times-like font for smallcaps.
$\tilde{W}^i$ $W^i$ % using a superscript in case % an accent is used results in % a too small distance between letter % and superscript
Looks like a ConTeXt issue, both render the same with (xe|lua)latex (using unicode-math).
$f^i$ % distance too small (seems to be just the case for $f$, see e.g. $h^i$ $t^i$)
Looks fine here. Regards, Khaled
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Thu, 27 Sep 2012, Khaled Hosny wrote:
On Thu, Sep 27, 2012 at 04:58:11PM +0200, Andreas Mang wrote:
Hi there,
Not quite sure if this is the right place. I wanted to send this directly to Khaled Hosny, but then I thought it might be good to have some additional opinion on some of these issues (I am not quite sure if some of this is intended behaviour).
I have collected some examples for which I think there are some scaling and spacing problems in xits.
Also, small caps are not supported. Is this intended?!
Thanks for your help.
Cheers, Andreas
%%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%% \setupbodyfont[xits,11pt]
\starttext $\diamond$ % too small?!
$\square$ % OK?!
$\blacktriangleright$ % too big?!
$\blacktriangleleft$ % too big?!
$\blacktriangle$ % too big?!
$\blacktriangledown$ % too big?!
None of those glyphs were changed in XITS, they are exactly the same as the ones in STIX fonts, so possibly ConTeXt is using the wrong Unicode character for those symbols. The later two are smaller with LaTeX package unicode-math.
That is most likely the issue. I never really understood what all these triangles should map to. Should we target unicode-math the reference implmentation? Aditya
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
On Thu, Sep 27, 2012 at 01:01:35PM -0400, Aditya Mahajan wrote:
On Thu, 27 Sep 2012, Khaled Hosny wrote:
None of those glyphs were changed in XITS, they are exactly the same as the ones in STIX fonts, so possibly ConTeXt is using the wrong Unicode character for those symbols. The later two are smaller with LaTeX package unicode-math.
That is most likely the issue. I never really understood what all these triangles should map to. Should we target unicode-math the reference implmentation?
As unicode-math table is based on BB’s STIX symbol table, I think it is the closest we have to an authoritative Unicode → TeX csnames mapping (incidentally, I have recent version of BB’s table, if anyone wants it). Regards, Khaled
![](https://secure.gravatar.com/avatar/a9569c0144001424e70287ebde8f600e.jpg?s=120&d=mm&r=g)
Hi, yet another one: \setupbodyfont[xits] \starttext $A \setminus B$ \stoptext looks strange to me. Cheers, Andreas Am Sep 27, 2012 um 7:01 PM schrieb Aditya Mahajan:
On Thu, 27 Sep 2012, Khaled Hosny wrote:
On Thu, Sep 27, 2012 at 04:58:11PM +0200, Andreas Mang wrote:
Hi there,
Not quite sure if this is the right place. I wanted to send this directly to Khaled Hosny, but then I thought it might be good to have some additional opinion on some of these issues (I am not quite sure if some of this is intended behaviour).
I have collected some examples for which I think there are some scaling and spacing problems in xits.
Also, small caps are not supported. Is this intended?!
Thanks for your help.
Cheers, Andreas
%%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%% \setupbodyfont[xits,11pt]
\starttext $\diamond$ % too small?!
$\square$ % OK?!
$\blacktriangleright$ % too big?!
$\blacktriangleleft$ % too big?!
$\blacktriangle$ % too big?!
$\blacktriangledown$ % too big?!
None of those glyphs were changed in XITS, they are exactly the same as the ones in STIX fonts, so possibly ConTeXt is using the wrong Unicode character for those symbols. The later two are smaller with LaTeX package unicode-math.
That is most likely the issue. I never really understood what all these triangles should map to. Should we target unicode-math the reference implmentation?
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 ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Andreas Mang
-
Khaled Hosny