blob: 5468051ccb2b08e014685960b9046e8ce12e1be2 [file] [log] [blame]
//========================================================================
//
// UnicodeTypeTable.h
//
// Copyright 2003 Glyph & Cog, LLC
//
//========================================================================
//========================================================================
//
// Modified under the Poppler project - http://poppler.freedesktop.org
//
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
// Copyright (C) 2006 Ed Catmur <ed@catmur.co.uk>
// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2016 Khaled Hosny <khaledhosny@eglug.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
//
//========================================================================
#ifndef UNICODETYPETABLE_H
#define UNICODETYPETABLE_H
extern bool unicodeTypeL(Unicode c);
extern bool unicodeTypeR(Unicode c);
extern bool unicodeTypeNum(Unicode c);
extern bool unicodeTypeAlphaNum(Unicode c);
extern bool unicodeIsAlphabeticPresentationForm(Unicode c);
extern Unicode unicodeToUpper(Unicode c);
extern Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
int *out_len, int **offsets);
extern Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
int *out_len, int **offsets,
bool reverseRTL);
#endif