Archived:Rich text editor does not support anti-aliased fonts (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (30 Aug 2007)
Last edited: hamishwillee (19 Jun 2012)


Anti-aliasing for scalable fonts can be set by using
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).


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
Also remember to delete the CCharFormatLayer object in the destructor.

This page was last modified on 19 June 2012, at 08:08.
37 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.