ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
       [not found] <mailman.672.1304454368.4231.ntg-context@ntg.nl>
@ 2011-05-04  1:47 ` S Barmeier
  0 siblings, 0 replies; 9+ messages in thread
From: S Barmeier @ 2011-05-04  1:47 UTC (permalink / raw)
  To: ntg-context, rivanvx

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


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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-08 11:22           ` Taco Hoekwater
@ 2011-05-08 17:34             ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2011-05-08 17:34 UTC (permalink / raw)
  To: Taco Hoekwater; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-07 11:26         ` Hans Hagen
@ 2011-05-08 11:22           ` Taco Hoekwater
  2011-05-08 17:34             ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2011-05-08 11:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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
___________________________________________________________________________________


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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-06 20:57       ` Aditya Mahajan
@ 2011-05-07 11:26         ` Hans Hagen
  2011-05-08 11:22           ` Taco Hoekwater
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-05-07 11:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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ć <rivanvx@gmail.com> je
>> napisao/la:
>>
>>> 2011/5/4 Aditya Mahajan <adityam@umich.edu>
>>>
>>>> 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
___________________________________________________________________________________

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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-06 16:30     ` Vedran Miletić
@ 2011-05-06 20:57       ` Aditya Mahajan
  2011-05-07 11:26         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2011-05-06 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 978 bytes --]

On Fri, 6 May 2011, Vedran Miletić wrote:

> Dana 4. svibnja 2011. 16:30 Vedran Miletić <rivanvx@gmail.com> je
> napisao/la:
>
>> 2011/5/4 Aditya Mahajan <adityam@umich.edu>
>>
>>>  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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-04 14:30   ` Vedran Miletić
@ 2011-05-06 16:30     ` Vedran Miletić
  2011-05-06 20:57       ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Vedran Miletić @ 2011-05-06 16:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 674 bytes --]

Dana 4. svibnja 2011. 16:30 Vedran Miletić <rivanvx@gmail.com> je
napisao/la:

> 2011/5/4 Aditya Mahajan <adityam@umich.edu>
>
>>  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ć

[-- Attachment #1.2: Type: text/html, Size: 1300 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-04  4:01 ` Aditya Mahajan
@ 2011-05-04 14:30   ` Vedran Miletić
  2011-05-06 16:30     ` Vedran Miletić
  0 siblings, 1 reply; 9+ messages in thread
From: Vedran Miletić @ 2011-05-04 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 753 bytes --]

2011/5/4 Aditya Mahajan <adityam@umich.edu>

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

[-- Attachment #1.2: Type: text/html, Size: 1367 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: Too much spacing in math mode between 'f' and 'l' (MkIV only)
  2011-05-03 20:25 Vedran Miletić
@ 2011-05-04  4:01 ` Aditya Mahajan
  2011-05-04 14:30   ` Vedran Miletić
  0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2011-05-04  4:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 568 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Too much spacing in math mode between 'f' and 'l' (MkIV only)
@ 2011-05-03 20:25 Vedran Miletić
  2011-05-04  4:01 ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Vedran Miletić @ 2011-05-03 20:25 UTC (permalink / raw)
  To: NTG-ConTeXt mailing list


[-- Attachment #1.1: Type: text/plain, Size: 210 bytes --]

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?

Regards,

Vedran Miletić

[-- Attachment #1.2: Type: text/html, Size: 363 bytes --]

[-- Attachment #2: math-spacing-mkii.pdf --]
[-- Type: application/pdf, Size: 34102 bytes --]

[-- Attachment #3: math-spacing-mkiv.pdf --]
[-- Type: application/pdf, Size: 9504 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

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

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

end of thread, other threads:[~2011-05-08 17:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.672.1304454368.4231.ntg-context@ntg.nl>
2011-05-04  1:47 ` Too much spacing in math mode between 'f' and 'l' (MkIV only) S Barmeier
2011-05-03 20:25 Vedran Miletić
2011-05-04  4:01 ` Aditya Mahajan
2011-05-04 14:30   ` Vedran Miletić
2011-05-06 16:30     ` Vedran Miletić
2011-05-06 20:57       ` Aditya Mahajan
2011-05-07 11:26         ` Hans Hagen
2011-05-08 11:22           ` Taco Hoekwater
2011-05-08 17:34             ` Hans Hagen

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