Devanagri Font Edit

BACKGROUND

I am editing existing font file.

Currently the glyph $026A looks like this.
1.png
I want it to look like this.
2.png
So, I edited glyph $026A by combining two different glyphs. It looks like this.
3.png

THE PROBLEM

When I’m testing the font by pressing F5, I see that the glyph $026A works well. But when I use it with combination with other glyphs the placement of the glyph after the modified $026A is at the position of the unmodified glyph $026A.

It looks like this now. (The wrong placement)
4.png
I want the glyph to go its correct position. (As shown here)
5.png
HELP

Will you please guide me in solving this problem?

The Font Test window doesn’t support kerning. How do the glyphs combine if you use the Preview Toolbar?

Select both glyphs, and press the “P” shortcut to show them in the Preview Toolbar.

Thank you for replying back so quickly.

In the preview window it does not show it properly at all.
6.png

Could it be how any two glyphs react when they are typed in combination?

Example:

glyph $028C -composite- is a long glyph composed of three glyphs.
7.png
When I edit this glyph and make it short, for example
8.png
The vowel glyph is placed faraway.
9.png
I think it placed the vowel glyph at the same place it would as if the modified glyph was long.
10.png

I want the vowel glyph to go at this location.
11.png
Is there a way where the font knows at what position to go to or which particular glyph to choose when a certain combination of glyphs are typed?

It is over 30 years since I learnt to read Devanagari, so I am at a disadvantage here.

The Preview toolbar in your screeen shot is blocking one of the selected glyphs, and none of the glyph captions show any mappings. I see only one of the two selected glyphs in the Preview Toolbar’s text string, so presumably the second one (which is hidden) is not mapped, while the first is mapped.

This probably means that the font uses OpenType features to position the tone mark/accent in the right place over the top of the first glyph.

I downloaded the Chandas and Uttara OpenType fonts from Sanskrit Web but couldn’t find the same glyphs as in your screen shot.