ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Too small { in the fourier font
@ 2007-08-30 15:41 Mikael Persson
  2007-08-30 15:53 ` Aditya Mahajan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mikael Persson @ 2007-08-30 15:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 15:41 Too small { in the fourier font Mikael Persson
@ 2007-08-30 15:53 ` Aditya Mahajan
  2007-08-30 16:11   ` Mikael Persson
  2007-08-30 16:20 ` George N. White III
  2007-08-30 17:01 ` Mikael Persson
  2 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2007-08-30 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 15:53 ` Aditya Mahajan
@ 2007-08-30 16:11   ` Mikael Persson
  2007-08-30 18:49     ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Mikael Persson @ 2007-08-30 16:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <adityam@umich.edu> wrote:
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 15:41 Too small { in the fourier font Mikael Persson
  2007-08-30 15:53 ` Aditya Mahajan
@ 2007-08-30 16:20 ` George N. White III
  2007-08-30 17:01 ` Mikael Persson
  2 siblings, 0 replies; 9+ messages in thread
From: George N. White III @ 2007-08-30 16:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/30/07, Mikael Persson <mickep@gmail.com> 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/

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 <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 15:41 Too small { in the fourier font Mikael Persson
  2007-08-30 15:53 ` Aditya Mahajan
  2007-08-30 16:20 ` George N. White III
@ 2007-08-30 17:01 ` Mikael Persson
  2007-08-30 18:25   ` George N. White III
  2 siblings, 1 reply; 9+ messages in thread
From: Mikael Persson @ 2007-08-30 17:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <mickep@gmail.com> 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/
>
> %%%%
> \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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 17:01 ` Mikael Persson
@ 2007-08-30 18:25   ` George N. White III
  2007-08-30 18:36     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: George N. White III @ 2007-08-30 18:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/30/07, Mikael Persson <mickep@gmail.com> 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.

> 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 <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 18:25   ` George N. White III
@ 2007-08-30 18:36     ` Hans Hagen
  2007-08-30 18:49       ` Mikael Persson
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2007-08-30 18:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

George N. White III wrote:
> On 8/30/07, Mikael Persson <mickep@gmail.com> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 16:11   ` Mikael Persson
@ 2007-08-30 18:49     ` Aditya Mahajan
  0 siblings, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2007-08-30 18:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Too small { in the fourier font
  2007-08-30 18:36     ` Hans Hagen
@ 2007-08-30 18:49       ` Mikael Persson
  0 siblings, 0 replies; 9+ messages in thread
From: Mikael Persson @ 2007-08-30 18:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/30/07, Hans Hagen <pragma@wxs.nl> wrote:
> George N. White III wrote:
> > On 8/30/07, Mikael Persson <mickep@gmail.com> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-08-30 18:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-30 15:41 Too small { in the fourier font Mikael Persson
2007-08-30 15:53 ` Aditya Mahajan
2007-08-30 16:11   ` Mikael Persson
2007-08-30 18:49     ` Aditya Mahajan
2007-08-30 16:20 ` George N. White III
2007-08-30 17:01 ` Mikael Persson
2007-08-30 18:25   ` George N. White III
2007-08-30 18:36     ` Hans Hagen
2007-08-30 18:49       ` Mikael Persson

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).