Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 05:27, 30 August 2007.

KIS000667 - Rich text editor does not support anti-aliased fonts

From Forum Nokia Wiki

Rich text editor does not support anti-aliased fonts KIS000667
Overview -
Category Symbian C++
Subcategory Graphics
Reported against S60 3rd Edition
S60 3rd Edition, FP1
Date identified June 4, 2007, updated June 25, 2007
Symptoms -
Detailed description Anti-aliasing for scalable fonts can be set by using
   TFontStyle::SetBitmapType(EAntiAliasedGlyphBitmap);
or
   TOpenFontSpec::SetBitmapType(EAntiAliasedGlyphBitmap);
Anti-aliased fonts can be used when drawing text to a graphics context, as well as in labels. However, the setting is ignored when applied to a rich text editor (CEikRichTextEditor).
How to reproduce -
Solution Create a CCharFormatLayer object and to set that as the global character format using SetGlobalCharFormat(). This will enable anti-aliasing globally for the editor.
    iMyCharFormatLayer = CCharFormatLayer::NewL();    // iMyCharFormatLayer is a class member
    RichText()->SetGlobalCharFormat(iMyCharFormatLayer);
Also remember to delete the CCharFormatLayer object in the destructor.
Related Discussions
Thread Thread Starter Forum Replies Last Post
Downloading fonts to Nokia device grao General Symbian C++ 0 2005-01-19 16:56
Documentation for EAvkonEditor Paul.Todd Symbian User Interface 2 2005-01-03 17:30
Dynamically change the width/height of text editor jainygaurav General Symbian C++ 3 2006-09-27 11:36
n 6220 greek fonts problem madtasos PC Suite API and PC Connectivity SDK 0 2004-06-16 23:07
text got overlapped in CEikRichtextEditor windalfred0 General Symbian C++ 0 2004-10-20 08:43
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX