ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Kerning and Minion Pro
@ 2009-01-16 23:49 Andreas Harder
  2009-01-17 10:23 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2009-01-16 23:49 UTC (permalink / raw)
  To: ntg-context

Hello,

I've a curious problem: With Palatino or Latin Modern kerning seems to work as intended, but what's the matter with Minion (example below)?


\setupcolors[state=start]

% \mainlanguage[de]

\definefontfeature[basekerned][default][mode=base]
\definefontfeature[nodekerned][default][mode=node]
\definefontfeature[nonekerned][default][mode=base,kern=no]

\starttext

\startbuffer[KernTest]
  \startlines
    Av, AV,
    LT, LV, Ly,
    TA, To, Ty, Te, T.
    Va, V.,
    Ya, Yo, Y.
  \stoplines
\stopbuffer

\startTEXpage % Minion Pro
  \startoverlay
    {\vbox{\red     \definedfont[name:MinionPro-Regular*nonekerned at 100pt]\getbuffer[KernTest] }}
    {\vbox{\blue    \definedfont[name:MinionPro-Regular*basekerned at 100pt]\getbuffer[KernTest] }}
    {\vbox{\darkgray\definedfont[name:MinionPro-Regular*nodekerned at 100pt]\getbuffer[KernTest] }}
  \stopoverlay
\stopTEXpage

\startTEXpage % Latin Modern
  \startoverlay
    {\vbox{\red     \definedfont[Serif*nonekerned at 100pt]\getbuffer[KernTest] }}
    {\vbox{\blue    \definedfont[Serif*basekerned at 100pt]\getbuffer[KernTest] }}
    {\vbox{\darkgray\definedfont[Serif*nodekerned at 100pt]\getbuffer[KernTest] }}
  \stopoverlay
\stopTEXpage

\startTEXpage % Palatino
  \startoverlay
    {\vbox{\red     \definedfont[file:texgyrepagella-regular*nonekerned at 100pt]\getbuffer[KernTest] }}
    {\vbox{\blue    \definedfont[file:texgyrepagella-regular*basekerned at 100pt]\getbuffer[KernTest] }}
    {\vbox{\darkgray\definedfont[file:texgyrepagella-regular*nodekerned at 100pt]\getbuffer[KernTest] }}
  \stopoverlay
\stopTEXpage

\stoptext


This is luaTeX, Version snapshot-0.31.3
ConTeXt  ver: 2009.01.14 11:29 MKIV


Thanks,
    Andreas


___________________________________________________________________________________
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] 5+ messages in thread

* Re: Kerning and Minion Pro
  2009-01-16 23:49 Kerning and Minion Pro Andreas Harder
@ 2009-01-17 10:23 ` Taco Hoekwater
  0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2009-01-17 10:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Andreas Harder wrote:
> Hello,
> 
> I've a curious problem: With Palatino or Latin Modern kerning seems to 
> work as intended, but what's the matter with Minion (example below)?

This appears to be caused by the fact that in MinionPro most
(not all, but most) of the kerning is specified via kern classes.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Kerning and Minion Pro
  2009-01-17 11:08 Andreas Harder
  2009-01-17 20:10 ` Taco Hoekwater
@ 2009-01-18 13:45 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2009-01-18 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Andreas Harder wrote:
> 
>  >> I've a curious problem: With Palatino or Latin Modern kerning seems to
>  >> work as intended, but what's the matter with Minion (example below)?
> 
>  > This appears to be caused by the fact that in MinionPro most
>  > (not all, but most) of the kerning is specified via kern classes.
> 
> Than you for explanation! But, is it possible to activate kerning for 
> MinionPro?
> 
> And what about the following example?
> 
> \startbuffer[KernTest]
>   \startlines
>     Tänze,
>     Tanze,
>     Väter,
>     Vater,
>   \stoplines
> \stopbuffer
> 
> The kerned „Väter“ can't be right (with MinionPro).

i uploaded a beta that hopefully fixes it

btw, you can say:

\enabletrackers[otf.kerns]

and see what is injected between glyphs

thanks for the test files

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] 5+ messages in thread

* Re: Kerning and Minion Pro
  2009-01-17 11:08 Andreas Harder
@ 2009-01-17 20:10 ` Taco Hoekwater
  2009-01-18 13:45 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2009-01-17 20:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Andreas Harder wrote:
>  >> I've a curious problem: With Palatino or Latin Modern kerning seems to
>  >> work as intended, but what's the matter with Minion (example below)?
> 
>  > This appears to be caused by the fact that in MinionPro most
>  > (not all, but most) of the kerning is specified via kern classes.
> 
> Than you for explanation! But, is it possible to activate kerning for 
> MinionPro?
> And what about the following example?
> 
> \startbuffer[KernTest]
>   \startlines
>     Tänze,
>     Tanze,
>     Väter,
>     Vater,
>   \stoplines
> \stopbuffer
> 
> The kerned „Väter“ can't be right (with MinionPro).

Here the blue (= base mode) actually looks correct, but that just means 
that mkiv needs a patch: the base kerns are also generated by the mkiv
font loader, after all. It probably got confused by the kerning classes.

I expect that it actually did work earlier (pre 0.31), and that what you
see now is just a regression. But it is better for me to wait for Hans'
comment than to dive into the code  and maybe spend hours on a problem
that would take him 10 seconds.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Kerning and Minion Pro
@ 2009-01-17 11:08 Andreas Harder
  2009-01-17 20:10 ` Taco Hoekwater
  2009-01-18 13:45 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Harder @ 2009-01-17 11:08 UTC (permalink / raw)
  To: ntg-context

 >> I've a curious problem: With Palatino or Latin Modern kerning  
seems to
 >> work as intended, but what's the matter with Minion (example below)?

 > This appears to be caused by the fact that in MinionPro most
 > (not all, but most) of the kerning is specified via kern classes.

Than you for explanation! But, is it possible to activate kerning for  
MinionPro?

And what about the following example?

\startbuffer[KernTest]
   \startlines
     Tänze,
     Tanze,
     Väter,
     Vater,
   \stoplines
\stopbuffer

The kerned „Väter“ can't be right (with MinionPro).

Greetings,
	Andreas

___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2009-01-18 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-16 23:49 Kerning and Minion Pro Andreas Harder
2009-01-17 10:23 ` Taco Hoekwater
2009-01-17 11:08 Andreas Harder
2009-01-17 20:10 ` Taco Hoekwater
2009-01-18 13:45 ` 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).