Hi Donald, Since you have begun to discuss facts, I thought of getting into this conversation again. Please see my comments below. On Thu, 03 Mar 2005 23:58:34 +0600, donald gaminitillake wrote: > > The character 'du' shown in the jpg image is correct > > but you mean to say that computer erase the lower part of (05af ) > "dayanna" and stitch the part to it and image the correct "du" or > select the correct "du" from another set In modern fonts (such as OpenType), we can encode glyphs (shapes) for both single code points (such as 0daf for "da"), or for sequences (such as 0daf, 0dd4 for "du"). In LK-LUG font, we have seperate glyphs (shapes) for "da" and "du". The first glyph ("da") is associated with the single code point 0daf, and the second glyph ("du") with the sequence 0daf, 0dd4. This is done through a table called GSUB. That means, when the rendering engine encounters "da" (0daf), it checks if there is a modifier afterwards. If there is no modifier, then it displays the glyph for "da". If there is a modifier - say 0dd4 - then it looks for the glyph for the sequence and displays it. > You all avoid this question please explain the algorithm once your key in > the two SLSI 1134 -05af = "dayanna" 0dd4 the a part +( your joiner in > unicode) There are two things in play. The input component and the rendering component. The input component will send 0daf when you press "dayanna", and 0dd4 when you press keti-paapilla. When you first press "dayanna", rendering engine will display the correct glyph by finding the shape for 0daf in the font. When keti-paapilla is pressed, the rendering engine will find that there is a modifier after duyanna, and will scan the font for the shape for the sequence 0daf, 0dd4. Then it ERASES (repeat: ERASES) the shape for 0daf, and displays the shape for the sequence 0daf, 0dd4. This is not a proposal nor hypothetical. It's already implemented and works. Anuradha -- http://www.linux.lk/~anuradha/ http://www.gnu.org/philosophy/no-word-attachments.html _______________________________________________ Sinhala mailing list Sinhala@linux.lk https://secure.linux.lk/mailman/listinfo/sinhala