4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
8 #ifndef __DEFAULTCHARMAPPER_H
9 #define __DEFAULTCHARMAPPER_H
17 #include "LEFontInstance.h"
22 * This class is an instance of LECharMapper which
23 * implements control character filtering and bidi
28 class DefaultCharMapper
: public UMemory
, public LECharMapper
31 le_bool fFilterControls
;
34 static const LEUnicode32 controlChars
[];
36 static const le_int32 controlCharsCount
;
38 static const LEUnicode32 mirroredChars
[];
40 static const le_int32 mirroredCharsCount
;
43 DefaultCharMapper(le_bool filterControls
, le_bool mirror
)
44 : fFilterControls(filterControls
), fMirror(mirror
)
54 LEUnicode32
mapChar(LEUnicode32 ch
) const;