Re: [Indic-computing-devel] Re: [Kannada] A few kannada bug fixes to qt-3.2.1
Status: Alpha
Brought to you by:
jkoshy
From: Krishnamurthy N. <kn...@ya...> - 2003-09-05 12:07:50
|
Hi Arun, The fundamental issue is that the glyph composition and rendering logic is 'hardcoded' in C code of each application, that to for a 'given' font. A more broad-based approach would be to provide generic X input methods for Indian languages. Pls take a look at the infrastructure projects under indic-computing on sourceforge that we have done/are doing (font annotation, generic transliteration library, study of various scripts and languages to develop a generic X input method framework and so on). Having developed and tested out the generic rule-based framework for four Indian languages (Hindi, Telugu, Kannada and Tamil), with all the complexity in the rules (given in a text file to the translib library) and zero C code that is specific to any language/script, I am convinced that any language/script specific peculiarities (like the reph case in Kannada, split vowel signs in Devenagari and Tamil, multiple representations for the same input etc etc) can be handled without any special coding at the app level (gnome, qt or whatever). Pls visit the indic-computing projects, especially the infrastructure projects and give your comments and contribute to this base work. Thanks. cheers, Nagarajan --- Arun Sharma <ar...@sh...> wrote: > On Sun, Aug 31, 2003 at 02:17:52AM -0700, Arun > Sharma wrote: > > Issue (b) below has been fixed. (a) Still remains. A > screenshot to > demonstrate the problem with (a): > > http://www.sharma-home.net/~adsharma/misc/wrong.jpg > > Updated patch attached. Some of this may be > applicable to Telugu too. > > -Arun > > > Remaining issues: > > > > a) Halant/Virama rendering broken. This seems to > be freetype specific, > > since I see the same behavior with gnome/gedit. > > b) This comment in qscriptengine_x11.cpp: > > > > // * In Kannada and Telugu, the base consonant > cannot be > > // farther than 3 consonants from the end of the > syllable. > > > > is not strictly correct. For cases such as > "Lakshmi" - "kshmi" is one > > syllable. Gnome handles this correctly. But I > couldn't figure out how to > > change the qt code to fix that. > > > > - if (skipped == 2 && (script == QFont::Kannada || > script == QFont::Telugu)) { > > + if (skipped == 4 && (script == QFont::Kannada || > script == QFont::Telugu)) { > > > > doesn't do it. Any patches will be highly > appreciated. > > --- > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |