ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* question about fonts.handlers.otf.addfeature
@ 2018-12-06 20:55 Pablo Rodriguez
  2018-12-06 22:03 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2018-12-06 20:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

as far as I know, fonts.handlers.otf.addfeature has the following types:
substitution, alternate, multiple, ligature, kern and chainsubstitution.

Is there a type of feature that simply moves a single glyph when activated?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: question about fonts.handlers.otf.addfeature
  2018-12-06 20:55 question about fonts.handlers.otf.addfeature Pablo Rodriguez
@ 2018-12-06 22:03 ` Hans Hagen
  2018-12-06 22:21   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2018-12-06 22:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/6/2018 9:55 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> as far as I know, fonts.handlers.otf.addfeature has the following types:
> substitution, alternate, multiple, ligature, kern and chainsubstitution.
> 
> Is there a type of feature that simply moves a single glyph when activated?

i think that there ae examples in the test suite of pairwise or single 
positioning



-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: question about fonts.handlers.otf.addfeature
  2018-12-06 22:03 ` Hans Hagen
@ 2018-12-06 22:21   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2018-12-06 22:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/6/18 11:03 PM, Hans Hagen wrote:
> On 12/6/2018 9:55 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> as far as I know, fonts.handlers.otf.addfeature has the following types:
>> substitution, alternate, multiple, ligature, kern and chainsubstitution.
>>
>> Is there a type of feature that simply moves a single glyph when activated?
> 
> i think that there are examples in the test suite of pairwise or single 
> positioning

You are right, Hans.

\startluacode
    fonts.handlers.otf.addfeature {
        name = "stest",
        type = "single",
        data = {
            a = { -500, 0, -500, 0 },
        }
    }
\stopluacode

Sorry, but I forgot to consider the test suite.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-12-06 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06 20:55 question about fonts.handlers.otf.addfeature Pablo Rodriguez
2018-12-06 22:03 ` Hans Hagen
2018-12-06 22:21   ` Pablo Rodriguez

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