Is possible to assign a layer as .swsh glyph instead of creating a new glyph? in a font that has only one instance?
But you need the extra glyph to access it in the swsh feature.
In case I have a glyph with 2 layers (the Arabic dot (the first layer: circle Dot, & the Second one: square dot) ) and I have used this dot-glyph as a component in many glyphs that have the dot,
So my Question: Is it possible to call the Second layer of the dot-glyph (square dot) as Swsh feature? without creating new glyphs for every letter that has a dot/dots.
I don’t think that is possible.
What is the advantage of having them in the same glyph?
ok, what about calling/replacing the component from another glyph? even this option is not possible, right?
I think you need to have the different design in a separate glyph. I agree with Georg that this part seems non-negotiable; you simply need to have it in a separate glyph in such cases.
If you really want to avoid making separate case for every letter (which is understandable when the difference is in the dots), you could write camp feature where you decompose beh-ar into behdotless-ar and dotbelow-ar for example. Then you activate the square dots via swsh feature; I don’t know why swsh but you absolutely can.