How to define 'any glyph' in the ligature section?

Hello,

While dealing with the ligature, in the input section, I have 4 components, let’s name them C1, C2, C3, C4) that give me output A, of which the first of the 4 components (namely: C1) is variable and the other 3 are constant.

I want to define that any glyph will be put in the first location (C1) + the other 3 constant components (C2, C3, C4), give me the same output A, without going and define any glyph (for C1) seperately.

N.B. I have FC15 proffesional edition.

Unfortunately, a standard ligature substitution does not support a true “any glyph” or wildcard component.

If you can provide a small example with the actual glyph names and the intended result, I can give more specific instructions.

Thanks.

Let me try to describe the problem and maybe you may have a solution forthat.

N.B. Since it’s not allowed to put more than 1 picture per messege, so I have to multiple my messeges in order to illustrate the problem and make it visibly understandable.

  1. I have a constant ligature (which is J and A together).

  1. The letter A itself is able to get different marks below it:

  1. When the ligature of the letter J meets the leter A with its mark, a part of the mark is covered by the letter J.

  1. What I want to define, that any time that the letter J meets any mark of the letter A, that mark should move a little bit to the left.

I hope I elucidated the problem properly, if something isn’t clear, let me know. Thank you!

Thank you, that makes it clearer.

Since the actual glyph sequence is:

A cedillacomb J

this is not really a ligature substitution issue. You do not need to replace glyphs; you only want to move the combining mark in a specific context.

For this, use Chained Context Positioning.

The rule should detect the mark when it occurs between A and J, for example:

A cedillacomb J

and then apply a small horizontal positioning adjustment to cedillacomb, for example by moving it slightly to the left.

If there are several marks below A, put them in a glyph class, for example:

@MarksBelowA = [cedillacomb dotbelowcomb ...]

Then use a chained contextual positioning rule like:

A @MarksBelowA J

and apply the positioning adjustment to the mark class, not to A or J.

A negative X placement value will move the mark to the left. The exact value depends on your font, so you will need to test and adjust it visually.

If the mark is already positioned with anchors, make sure the contextual positioning lookup is applied after the normal mark positioning, so the mark first attaches to A and is then shifted left only in this specific context.

I would not use ligatures to solve this problem. It is something that should be done with kerning.