Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
On 8-5-2011 1:22, Taco Hoekwater wrote: On 05/07/2011 01:26 PM, Hans Hagen wrote: Hans and Taco, do you have any idea? Why is the inter-letter spacing different in MkII and MkIV. In math-vfu we have: if italic then width = width + italic end And that is for a reason. I might be a left over from when the math engine was redone. So I need input from Taco. I suspect that was from an earlier, bad interpretation of the opentype math specification and that it can go away. But: much safer is to have a big test file first using various (variable|opname) + other char combinations. ok, for now i'll just comment that code Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
On 05/07/2011 01:26 PM, Hans Hagen wrote: Hans and Taco, do you have any idea? Why is the inter-letter spacing different in MkII and MkIV. In math-vfu we have: if italic then width = width + italic end And that is for a reason. I might be a left over from when the math engine was redone. So I need input from Taco. I suspect that was from an earlier, bad interpretation of the opentype math specification and that it can go away. But: much safer is to have a big test file first using various (variable|opname) + other char combinations. Best wishes, Taco ___ 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 ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
On 6-5-2011 10:57, Aditya Mahajan wrote: On Fri, 6 May 2011, Vedran Miletić wrote: Dana 4. svibnja 2011. 16:30 Vedran Miletić je napisao/la: 2011/5/4 Aditya Mahajan On Tue, 3 May 2011, Vedran Miletić wrote: Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between "f" and "l" is quite big and doesn't look very good. Is it a bug? Definitely looks like a bug in italic correction. In principle, the spacing with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). Thanks for clarification. Just curious: is this ConTeXt or LuaTeX bug? I am guessing that this is a context bug in creating a virtual font or loading a virtual font. But I don't know how to debug this. Hans and Taco, do you have any idea? Why is the inter-letter spacing different in MkII and MkIV. In math-vfu we have: if italic then width = width + italic end And that is for a reason. I might be a left over from when the math engine was redone. So I need input from Taco. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
On Fri, 6 May 2011, Vedran Miletić wrote: Dana 4. svibnja 2011. 16:30 Vedran Miletić je napisao/la: 2011/5/4 Aditya Mahajan On Tue, 3 May 2011, Vedran Miletić wrote: Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between "f" and "l" is quite big and doesn't look very good. Is it a bug? Definitely looks like a bug in italic correction. In principle, the spacing with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). Thanks for clarification. Just curious: is this ConTeXt or LuaTeX bug? I am guessing that this is a context bug in creating a virtual font or loading a virtual font. But I don't know how to debug this. Hans and Taco, do you have any idea? Why is the inter-letter spacing different in MkII and MkIV. 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 ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
Dana 4. svibnja 2011. 16:30 Vedran Miletić je napisao/la: > 2011/5/4 Aditya Mahajan > >> On Tue, 3 May 2011, Vedran Miletić wrote: >> >> Hi, >>> >>> please consider this: >>> >>> \starttext >>> \math{flow_1} >>> \stoptext >>> >>> When compiled with MkIV, space between "f" and "l" is quite big and >>> doesn't >>> look very good. Is it a bug? >>> >> >> Definitely looks like a bug in italic correction. In principle, the >> spacing with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). >> > > Thanks for clarification. > Just curious: is this ConTeXt or LuaTeX bug? Vedran Miletić ___ 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 ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
2011/5/4 Aditya Mahajan > On Tue, 3 May 2011, Vedran Miletić wrote: > > Hi, >> >> please consider this: >> >> \starttext >> \math{flow_1} >> \stoptext >> >> When compiled with MkIV, space between "f" and "l" is quite big and >> doesn't >> look very good. Is it a bug? >> > > Definitely looks like a bug in italic correction. In principle, the spacing > with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). > Thanks for clarification. > > But I agree with Severin that you should not be using \math{flow_1} to > represent the first flow. I hope that this example was for illustrating the > spacing bug. > Do you suggest I follow Severin's solution? Regards, Vedran Miletić ___ 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 ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
On Tue, 3 May 2011, Vedran Miletić wrote: Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between "f" and "l" is quite big and doesn't look very good. Is it a bug? Definitely looks like a bug in italic correction. In principle, the spacing with virtual fonts (mkiv) should be the same as type 1 fonts (mkii). But I agree with Severin that you should not be using \math{flow_1} to represent the first flow. I hope that this example was for illustrating the spacing bug. 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 ___
Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)
> > Hi, > > please consider this: > > \starttext > \math{flow_1} > \stoptext > > When compiled with MkIV, space between "f" and "l" is quite big and doesn't > look very good. Is it a bug? > Spacing between letters when treated as individual variables is always a bit fishy. In this case the math mode suppresses the fl ligature, which seems to be present in the font, whence the spacing is off. Something like \starttext \math{{\it flow}_1} \stoptext will help ConTeXt treat it as text and improve the spacing (and in this case make use of the fl ligature). Define \def\flow{\text{\it flow}} if you just want to say \starttext \math{\flow_1} \stoptext Severin ___ 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 ___