2 * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
6 #ifndef __DEFAULTCHARMAPPER_H
7 #define __DEFAULTCHARMAPPER_H
15 #include "LEFontInstance.h"
20 * This class is an instance of LECharMapper which
21 * implements control character filtering and bidi
26 class DefaultCharMapper
: public UMemory
, public LECharMapper
29 le_bool fFilterControls
;
32 static const LEUnicode32 controlChars
[];
34 static const le_int32 controlCharsCount
;
36 static const LEUnicode32 mirroredChars
[];
37 static const LEUnicode32 srahCderorrim
[];
39 static const le_int32 mirroredCharsCount
;
42 DefaultCharMapper(le_bool filterControls
, le_bool mirror
)
43 : fFilterControls(filterControls
), fMirror(mirror
)
53 LEUnicode32
mapChar(LEUnicode32 ch
) const;