Help with Arabic Dots Feature

Is there any method that could give the user an option to choose the shape of Arabic dots (circle dot or square dot for example) ?

I use above and below Arabic dots as a components all over the font.

I just try to replace dotabove-ar by dotabove-ar.alt using liga and stylistic alternates features but does not work!

Any suggestions please?

You have two options:

  • Make alternate glyphs for all glyphs with dots.
  • write decomposition feature code that puts the dot-glyphs in the text. Then you code (if called later) should work.

thank you Georg