libunibreak 5.0
graphemebreakdef.h
Go to the documentation of this file.
1/*
2 * Grapheme breaking in a Unicode sequence. Designed to be used in a
3 * generic text renderer.
4 *
5 * Copyright (C) 2016-2019 Andreas Röver <roever at users dot sf dot net>
6 *
7 * This software is provided 'as-is', without any express or implied
8 * warranty. In no event will the author be held liable for any damages
9 * arising from the use of this software.
10 *
11 * Permission is granted to anyone to use this software for any purpose,
12 * including commercial applications, and to alter it and redistribute
13 * it freely, subject to the following restrictions:
14 *
15 * 1. The origin of this software must not be misrepresented; you must
16 * not claim that you wrote the original software. If you use this
17 * software in a product, an acknowledgement in the product
18 * documentation would be appreciated but is not required.
19 * 2. Altered source versions must be plainly marked as such, and must
20 * not be misrepresented as being the original software.
21 * 3. This notice may not be removed or altered from any source
22 * distribution.
23 *
24 * The main reference is Unicode Standard Annex 29 (UAX #29):
25 * <URL:http://unicode.org/reports/tr29>
26 *
27 * When this library was designed, this annex was at Revision 29, for
28 * Unicode 9.0.0:
29 * <URL:http://www.unicode.org/reports/tr29/tr29-29.html>
30 *
31 * This library has been updated according to Revision 37, for
32 * Unicode 13.0.0:
33 * <URL:http://www.unicode.org/reports/tr29/tr29-37.html>
34 *
35 * The Unicode Terms of Use are available at
36 * <URL:http://www.unicode.org/copyright.html>
37 */
38
48#ifndef GRAPHEMEBREAKDEF_H
49#define GRAPHEMEBREAKDEF_H
50
51#include "unibreakdef.h"
52
58{
76};
77
83{
87};
88
89#endif /* GRAPHEMEBREAKDEF_H */
GraphemeBreakClass
Word break classes.
Definition: graphemebreakdef.h:58
@ GBP_V
Definition: graphemebreakdef.h:70
@ GBP_ZWJ
Definition: graphemebreakdef.h:65
@ GBP_T
Definition: graphemebreakdef.h:71
@ GBP_Prepend
Definition: graphemebreakdef.h:67
@ GBP_SpacingMark
Definition: graphemebreakdef.h:68
@ GBP_LinkingConsonant
Definition: graphemebreakdef.h:63
@ GBP_LV
Definition: graphemebreakdef.h:72
@ GBP_Control
Definition: graphemebreakdef.h:61
@ GBP_Regional_Indicator
Definition: graphemebreakdef.h:66
@ GBP_L
Definition: graphemebreakdef.h:69
@ GBP_LVT
Definition: graphemebreakdef.h:73
@ GBP_LF
Definition: graphemebreakdef.h:60
@ GBP_Virama
Definition: graphemebreakdef.h:62
@ GBP_Extend
Definition: graphemebreakdef.h:64
@ GBP_Other
Definition: graphemebreakdef.h:74
@ GBP_CR
Definition: graphemebreakdef.h:59
@ GBP_Undefined
Definition: graphemebreakdef.h:75
Struct for entries of grapheme break properties.
Definition: graphemebreakdef.h:83
utf32_t end
End codepoint, inclusive.
Definition: graphemebreakdef.h:85
enum GraphemeBreakClass prop
The grapheme breaking property.
Definition: graphemebreakdef.h:86
utf32_t start
Start codepoint.
Definition: graphemebreakdef.h:84
unsigned int utf32_t
Type for UTF-32 data points.
Definition: unibreakbase.h:49
Header file for private definitions in the libunibreak library.