#include "core/fxcrt/fx_unicode.h"
#include <stddef.h>
#include <iterator>
#include "core/fxcrt/check.h"
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/compiler_specific.h"
namespace {
constexpr uint16_t kBidiClassBitPos = …;
constexpr uint16_t kBidiClassBitCount = …;
constexpr uint16_t kBidiClassBitMask = …;
constexpr uint16_t kMirrorBitPos = …;
constexpr uint16_t kMirrorBitCount = …;
constexpr uint16_t kMirrorMax = …;
#undef CHARPROP____
#define CHARPROP____ …
constexpr uint16_t kTextLayoutCodeProperties[] = …;
#undef CHARPROP____
static_assert …;
uint16_t GetUnicodeProperties(wchar_t wch) { … }
#ifdef PDF_ENABLE_XFA
constexpr uint16_t kBreakTypeBitPos = …;
constexpr uint16_t kBreakTypeBitCount = …;
constexpr uint16_t kBreakTypeBitMask = …;
constexpr uint16_t kCharTypeBitPos = …;
constexpr uint16_t kCharTypeBitCount = …;
constexpr uint16_t kCharTypeBitMask = …;
#undef CHARPROP____
#define CHARPROP____ …
constexpr uint16_t kExtendedTextLayoutCodeProperties[] = …;
#undef CHARPROP____
static_assert …;
uint16_t GetExtendedUnicodeProperties(wchar_t wch) { … }
#endif
constexpr uint16_t kFXTextLayoutBidiMirror[] = …;
#undef CHARPROP____
#define CHARPROP____ …
#include "core/fxcrt/fx_ucddata.inc"
#undef CHARPROP____
}
namespace pdfium::unicode {
wchar_t GetMirrorChar(wchar_t wch) { … }
FX_BIDICLASS GetBidiClass(wchar_t wch) { … }
#ifdef PDF_ENABLE_XFA
FX_CHARTYPE GetCharType(wchar_t wch) { … }
FX_BREAKPROPERTY GetBreakProperty(wchar_t wch) { … }
#endif
}