Bug 213883 - Indic text rendering does not work in KMail composer
Summary: Indic text rendering does not work in KMail composer
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 19:56 UTC by Kumaran Santhanam
Modified: 2018-09-04 18:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kumaran Santhanam 2009-11-09 19:56:05 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Fedora RPMs

When entering Indic characters in KMail composer, the complex layout is not rendered correctly.  However, when viewing emails, the rendering is correct.

Therefore, it is possible to use an external editor, copy/paste the text into composer (which will display in a mangled form), send the email, then view it correctly rendered in KMail.

For more information please refer to this page:
http://en.wikipedia.org/wiki/Help:Multilingual_support_%28Indic%29

In the "Check for Existing Support" table, the images show how a browser is expected to render the Indic text.  The second line is Tamil text, which is given here as a test case for the KMail composer:

க கா கி கீ கு கூ கெ கே கை கொ கோ கௌ க்

Interestingly, the To: and Subject: fields rendering properly when using the same test case.  It is only the main composer widget that is unable to perform the complex layout.

The KDE editor Kate correctly inputs and renders this text.  If the underlying editing components are shared across KDE, it may just be a matter of enabling the complex text layout option for the KMail composer.
Comment 1 Kumaran Santhanam 2009-11-12 16:29:17 UTC
I have some more information that may help narrow down the problem:

1. Open KMail composer (Ctrl+N)

2. Paste the following characters:
க கா கி கீ கு கூ கெ கே கை கொ கோ கௌ க்

3. Note how the rendering is not correct.

4. Go the beginning of the line and add the quote char '>':
> க கா கி கீ கு கூ கெ கே கை கொ கோ கௌ க்

5. The rendering is now correct!

From this test, it seems that the composer does have the ability to render the text properly in some contexts.  Can somebody who has worked on composer code provide some insight?
Comment 2 Martin Koller 2009-11-14 13:47:05 UTC
I'm using KDE 4.3.3 on openSuse 11.2 and have already installed already a current snapshot of Qt4.6 (4.5.80+4.6.20091111).
With this setup, I see no rendering problems.
Can you try to upgrade at least to the newest official Qt version if you don't have that already (4.5.3) ?
Comment 3 Kumaran Santhanam 2009-11-15 06:12:23 UTC
I am using KDE 4.3.2 with Qt 4.5.3.  Upon further investigation, I have narrowed down the issue.  When automatic spellchecking is disabled, the rendering is correct.  It seems that the red underline is interfering with the complex text layout functionality.
Comment 4 Andrew Crouthamel 2018-09-04 18:22:20 UTC
Hello! Sorry to be the bearer of bad news, but this version of Kmail has been unmaintained for many years so I am closing this bug. Please try using the latest version of Kmail to see if your issue persists. If it does, please submit a new bug in "kmail2". Thank you!