beta-0.89.2
[luatex.git] / source / libs / poppler / poppler-src / poppler / UnicodeTypeTable.h
blob978d889f6916e1c570575ad57f504794f6538aed
1 //========================================================================
2 //
3 // UnicodeTypeTable.h
4 //
5 // Copyright 2003 Glyph & Cog, LLC
6 //
7 //========================================================================
9 //========================================================================
11 // Modified under the Poppler project - http://poppler.freedesktop.org
13 // All changes made under the Poppler project to this file are licensed
14 // under GPL version 2 or later
16 // Copyright (C) 2006 Ed Catmur <ed@catmur.co.uk>
17 // Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
18 // Copyright (C) 2016 Khaled Hosny <khaledhosny@eglug.org>
20 // To see a description of the changes please see the Changelog file that
21 // came with your tarball or type make ChangeLog if you are building from git
23 //========================================================================
25 #ifndef UNICODETYPETABLE_H
26 #define UNICODETYPETABLE_H
28 #include "goo/gtypes.h"
30 extern GBool unicodeTypeL(Unicode c);
32 extern GBool unicodeTypeR(Unicode c);
34 extern GBool unicodeTypeNum(Unicode c);
36 extern GBool unicodeTypeAlphaNum(Unicode c);
38 extern GBool unicodeIsAlphabeticPresentationForm(Unicode c);
40 extern Unicode unicodeToUpper(Unicode c);
42 extern Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
43 int *out_len, int **offsets);
45 extern Unicode *unicodeNormalizeNFKC(Unicode *in, int len,
46 int *out_len, int **offsets,
47 GBool reverseRTL);
49 #endif