The problem is when last verse of page is not ended at this page and has more than one line glyph, all glyphs insert statements are written to be in first line of verse. The solution was updating value of cur_line, so glyphs insert statements get the correct line number.
This Problem won't appear no verse can continue at next page like in Moshaf Madina. It only appears for verse continue in next page and has more than one line at that starting page.
The problem is when last verse of page is not ended at this page and has more than one line glyph, all glyphs insert statements are written to be in first line of verse. The solution was updating value of cur_line, so glyphs insert statements get the correct line number.
This Problem won't appear no verse can continue at next page like in Moshaf Madina. It only appears for verse continue in next page and has more than one line at that starting page.