Being inspired by Is it possible to apply CSS to half of a character? I was wondering if something similar could be done with Indic text? As an example, in Sinhala ක + ා = කා (consonant + vowel). Is it possible to render the vowel stroke as a different colour from the base consonant? Other combinations:
ක + ෙ = කෙ
ක + ු = කු
ක + ො = කො
ක + ් = ක්
ම + ් = ම්
ම + ු = මු
ද + ා = දා
ක + ්ර = ක්ර
ර් + ක = ර්ක
ක + ්ය = ක්ය
ර් + ක + ්ර + ො = ර්ක්රො
I'm looking for an effect similar to this:
Thanks in advance for your awesome answers!