Summary: | Bad charset in printed message. | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Andrey Cherepanov <sibskull> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.8 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andrey Cherepanov
2005-04-07 10:01:24 UTC
Oh! This is kdeprint subsystem from KDE 3.4. bug! There is line from KMail log: kdeprint: kde-fonts = AvantGarde-Book,AvantGarde-BookOblique,AvantGarde-Demi,AvantGarde-DemiOblique,Bookman-Demi,Bookman-DemiItalic,Bookman-Light,Bookman-LightItalic,Courier,Courier-Bold,Courier-BoldOblique,Courier-Oblique,Helvetica,Helvetica-Bold,Helvetica-BoldOblique,Helvetica-Narrow,Helvetica-Narrow-Bold,Helvetica-Narrow-BoldOblique,Helvetica-Narrow-Oblique,Helvetica-Oblique,NewCenturySchlbk-Bold,NewCenturySchlbk-BoldItalic,NewCenturySchlbk-Italic,NewCenturySchlbk-Roman,Palatino-Bold,Palatino-BoldItalic,Palatino-Italic,Palatino-Roman,Symbol,Times-Bold,Times-BoldItalic,Times-Italic,Times-Roman,ZapfChancery-MediumItalic,ZapfDingbats All my TTF fonts disappeared from this list. In KDE 3.3.2 all TTF fonts are used for display and prining without any problem. I get warning during kdebase ./configure about FreeType 2.x absence (but freetype was insatalled). I will try to rebuild fresh freetype. Oops! It's KMail specific bug. All other application print cyrillic well. And in KMail header and attachment names with cyrillic letters print correct. It seems problem is in decode MIME parts and print them. There is a problem of overriding charset of MIME part on print. This is occured only for print, on show part charset doesn't overrided. Please, commit followed patch or remove charset overriding for printing. Patch: --- kdepim-3.4.0/kmail/old/objecttreeparser.cpp 2005-04-08 12:01:28.000000000 +0400 +++ kdepim-3.4.0/kmail/objecttreeparser.cpp 2005-04-08 12:00:58.000000000 +0400 @@ -2507,8 +2507,6 @@ const QTextCodec * ObjectTreeParser::codecFor( partNode * node ) const { assert( node ); - if ( mReader && mReader->overrideCodec() ) - return mReader->overrideCodec(); return node->msgPart().codec(); } Oops! My last patch break changing charset in preview, but fix on printing. I work at correct patch... Fixed in KDE 3.4.1. On Thursday 02 June 2005 11:08, Andrey Cherepanov wrote:
> Fixed in KDE 3.4.1.
No, not really. I really appreciate that you're working on this. I've just
upgraded kdelibs and kdepim to 3.4.1. Unfortunately KMail still doesn't get
it right :-(
I just tested this with an UTF-8 encoded mail I sent. The utf-8 content is
incorrectly decoded as ISO-8859-1. In other words, exactly the same behavior
as in 3.4.0.
Thanks again for working on this!
Ok! This bug is still alive. I continue my work over patch for this bug. Apparently everything's fine in KDE 3.5.0. Thanks a lot! I'd say this bug is FIXED. if you say so :-) |