FM fonts draw Sinhala shapes over ASCII code points, so the text is just Latin letters underneath (wïud = අම්මා). Each FM glyph is mapped back to Unicode, longest match first. The kombuva (f = ෙ) is typed before its consonant in FM but stored after it in Unicode, so it is moved and merged with a following ා, ් or ෟ into ො, ෝ, ේ or ෞ.