Can contextual alternates transform?

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Dan Kreider
Posts: 92
Joined: Thu Mar 25, 2021 8:35 pm

Can contextual alternates transform?

Post by Dan Kreider »

Can a contextual alternate perform a transformation on an existing glyph? Or can it only perform a substitution for another glyph?
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Can contextual alternates transform?

Post by Erwin Denissen »

I am not sure if I understand you correctly, but with chained contextual positioning you can apply a positioning rule to a glyph.
Erwin Denissen
High-Logic
Proven Font Technology
Dan Kreider
Posts: 92
Joined: Thu Mar 25, 2021 8:35 pm

Re: Can contextual alternates transform?

Post by Dan Kreider »

Can I use calt to scale the glyph also? Or do I need to create a dedicated glyph at the desired size?
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Can contextual alternates transform?

Post by Erwin Denissen »

Scaling is not part of OpenType layout features, so yes, you need to provide another glyph,
Erwin Denissen
High-Logic
Proven Font Technology
Dan Kreider
Posts: 92
Joined: Thu Mar 25, 2021 8:35 pm

Re: Can contextual alternates transform?

Post by Dan Kreider »

Ok, thanks. One more question: I understand how to create a new ligature in the "Add Glyph" dialog: x_y.liga=glyphA+glyphB. But is there a way to type the code directly in for a contextual alternate?
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Post Reply