Hi all, when using the fourier font I get the wrong size of the opening { in the \startcases \stopcases environment. The following small example shows the problem and it fails both at my place and at http://live.contextgarden.net/ %%%% \usetypescript[fourier][ec] \setupbodyfont[fourier,10pt] \starttext \startformula f(x)= \startcases \NC 1 \MC x>0\NR \NC 0 \MC x<0\NR \stopcases \stopformula \stoptext %%%% I run the minimal ConTeXt, from 8th of august: ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2007.8.26 int: english/english Moreover, if I comment the first lines out above, the opening { is "stretched" correctly (in latin modern). Any ideas? Best regards, Micke P
On Thu, 30 Aug 2007, Mikael Persson wrote:
Hi all,
when using the fourier font I get the wrong size of the opening { in the \startcases \stopcases environment. The following small example shows the problem and it fails both at my place and at http://live.contextgarden.net/
An easy workaround, use texnasi encoding :-) \usetypescript[fourier][texnansi] Maybe a bug somewhere, but math fonts are like a black box to me. Aditya
Thanks, but if I try that, I dont get the fourier fonts at all, but
the lm ones (both home and at live.contextgarden.net).
Best regards, Micke P
On 8/30/07, Aditya Mahajan
On Thu, 30 Aug 2007, Mikael Persson wrote:
Hi all,
when using the fourier font I get the wrong size of the opening { in the \startcases \stopcases environment. The following small example shows the problem and it fails both at my place and at http://live.contextgarden.net/
An easy workaround, use texnasi encoding :-)
\usetypescript[fourier][texnansi]
Maybe a bug somewhere, but math fonts are like a black box to me.
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Thu, 30 Aug 2007, Mikael Persson wrote:
Thanks, but if I try that, I dont get the fourier fonts at all, but the lm ones (both home and at live.contextgarden.net).
Sorry, did not notice that using texnansi encoding with fourier switches to lm. Probably the result of a fallback. Aditya
On 8/30/07, Mikael Persson
Hi all,
when using the fourier font I get the wrong size of the opening { in the \startcases \stopcases environment. The following small example shows the problem and it fails both at my place and at http://live.contextgarden.net/
I wonder if this is the missing design size in lm fonts problem. Using ConTeXt ver: 2007.08.23 the sizes look OK for me.
%%%% \usetypescript[fourier][ec] \setupbodyfont[fourier,10pt]
\starttext \startformula f(x)= \startcases \NC 1 \MC x>0\NR \NC 0 \MC x<0\NR \stopcases \stopformula \stoptext %%%%
I run the minimal ConTeXt, from 8th of august: ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2007.8.26 int: english/english
Moreover, if I comment the first lines out above, the opening { is "stretched" correctly (in latin modern).
Any ideas?
Best regards, Micke P ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
--
George N. White III
Update:
This seems to be a problem that is introduced after 20070403. I am
running that version at work (minimal installation on linux there
aswell), and there it looks OK with the fourier fonts.
Another problem is given by $\hat f$. In the older one it looks OK,
but in the newer the hat is placed wrongly. New minimal example that
shows both these problems:
%%%%
\usetypescript[fourier][ec]
\setupbodyfont[fourier,10pt]
\starttext
\startformula
\hat f(x)=
\startcases
\NC 1 \MC x>0\NR
\NC 0 \MC x<0\NR
\stopcases
\stopformula
\stoptext
%%%%
Any ideas? I don't want to switch back to ver 20070407 if it is not necessary...
/Micke P
On 8/30/07, Mikael Persson
Hi all,
when using the fourier font I get the wrong size of the opening { in the \startcases \stopcases environment. The following small example shows the problem and it fails both at my place and at http://live.contextgarden.net/
%%%% \usetypescript[fourier][ec] \setupbodyfont[fourier,10pt]
\starttext \startformula f(x)= \startcases \NC 1 \MC x>0\NR \NC 0 \MC x<0\NR \stopcases \stopformula \stoptext %%%%
I run the minimal ConTeXt, from 8th of august: ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2007.8.26 int: english/english
Moreover, if I comment the first lines out above, the opening { is "stretched" correctly (in latin modern).
Any ideas?
Best regards, Micke P
On 8/30/07, Mikael Persson
Update:
This seems to be a problem that is introduced after 20070403. I am running that version at work (minimal installation on linux there aswell), and there it looks OK with the fourier fonts.
There have been some major changes in font handling. It turned out that the lm fonts didn't define a design size but apparently it didn't matter until quite recently, and then more recently a workaround was added. I wouldn't be surprised to see the problem in other fonts either because they use lm for some glyphs or because they were created using the same toolchain.
Another problem is given by $\hat f$. In the older one it looks OK, but in the newer the hat is placed wrongly. New minimal example that shows both these problems:
%%%% \usetypescript[fourier][ec] \setupbodyfont[fourier,10pt]
\starttext \startformula \hat f(x)= \startcases \NC 1 \MC x>0\NR \NC 0 \MC x<0\NR \stopcases \stopformula \stoptext %%%%
Any ideas? I don't want to switch back to ver 20070407 if it is not necessary...
I'd try the latest version first. Normally I have my systems
configured with a separate
texmf-cont tree that I link to cont-tmf-<date> so I can very quickly
switch versions.
--
George N. White III
George N. White III wrote:
On 8/30/07, Mikael Persson
wrote: Update:
This seems to be a problem that is introduced after 20070403. I am running that version at work (minimal installation on linux there aswell), and there it looks OK with the fourier fonts.
There have been some major changes in font handling. It turned out that the lm fonts didn't define a design size but apparently it didn't matter until quite recently, and then more recently a workaround was added. I wouldn't be surprised to see the problem in other fonts either because they use lm for some glyphs or because they were created using the same toolchain.
indeed, the tex gyre fonts etc also suffer from this but in many cases they default to 10 the lm/gyre authors are notified and will sort it out Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 8/30/07, Hans Hagen
George N. White III wrote:
On 8/30/07, Mikael Persson
wrote: Update:
This seems to be a problem that is introduced after 20070403. I am running that version at work (minimal installation on linux there aswell), and there it looks OK with the fourier fonts.
There have been some major changes in font handling. It turned out that the lm fonts didn't define a design size but apparently it didn't matter until quite recently, and then more recently a workaround was added. I wouldn't be surprised to see the problem in other fonts either because they use lm for some glyphs or because they were created using the same toolchain.
indeed, the tex gyre fonts etc also suffer from this but in many cases they default to 10
the lm/gyre authors are notified and will sort it out
Hans
Thanks for your replies. The lm/gyre authors does not take care of the fourier fonts, right? What does this mean if one wants to use the fourier fonts? /Micke P
participants (4)
-
Aditya Mahajan
-
George N. White III
-
Hans Hagen
-
Mikael Persson