ICU 56.1: icu::LECharMapper Class Reference

ICU 56.1 56.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Public Member Functions
icu::LECharMapper Class Referenceabstract

Instances of this class are used by `LEFontInstance::mapCharsToGlyphs` and `LEFontInstance::mapCharToGlyph` to adjust character codes before the character to glyph mapping process. More...

`#include <LEFontInstance.h>`

## Public Member Functions
virtual | ~LECharMapper ()
| Destructor. More...
virtual LEUnicode32 | mapChar (LEUnicode32 ch) const =0
| This method does the adjustments. More...

## Detailed Description

Instances of this class are used by `LEFontInstance::mapCharsToGlyphs` and `LEFontInstance::mapCharToGlyph` to adjust character codes before the character to glyph mapping process.

Examples of this are filtering out control characters and character mirroring - replacing a character which has both a left and a right hand form with the opposite form.

Deprecated:
  ICU 54. See icu::LayoutEngine

Definition at line 28 of file LEFontInstance.h.

## Constructor & Destructor Documentation

virtual icu::LECharMapper::~LECharMapper | ( |  | ) |
| virtual

Destructor.

Deprecated:
  ICU 54. See icu::LayoutEngine

## Member Function Documentation

virtual LEUnicode32 icu::LECharMapper::mapChar | ( | LEUnicode32 | ch | ) | const
| pure virtual

This method does the adjustments.

Parameters

  ch | - the input character

Returns
  the adjusted character

Deprecated:
  ICU 54. See icu::LayoutEngine

The documentation for this class was generated from the following file:

- LEFontInstance.h