src/linebreakdef.c File Reference
Definition of language-specific data.
More...
#include "linebreak.h"
#include "linebreakdef.h"
Detailed Description
Definition of language-specific data.
- Version:
- 3.0, 2015/05/10
- Author:
- Wu Yongwei
Variable Documentation
Initial value: {
{ 0x2018, 0x2018, LBP_OP },
{ 0x2019, 0x2019, LBP_CL },
{ 0x201C, 0x201C, LBP_OP },
{ 0x201D, 0x201D, LBP_CL },
{ 0, 0, LBP_Undefined }
}
Chinese-specifc data over the default Unicode rules.
Initial value: {
{ 0x2018, 0x2018, LBP_OP },
{ 0x201C, 0x201C, LBP_OP },
{ 0x201D, 0x201D, LBP_CL },
{ 0, 0, LBP_Undefined }
}
English-specifc data over the default Unicode rules.
Initial value: {
{ 0x00AB, 0x00AB, LBP_OP },
{ 0x00BB, 0x00BB, LBP_CL },
{ 0x2018, 0x2018, LBP_OP },
{ 0x201C, 0x201C, LBP_OP },
{ 0x201D, 0x201D, LBP_CL },
{ 0x2039, 0x2039, LBP_OP },
{ 0x203A, 0x203A, LBP_CL },
{ 0, 0, LBP_Undefined }
}
French-specifc data over the default Unicode rules.
Initial value: {
{ 0x00AB, 0x00AB, LBP_CL },
{ 0x00BB, 0x00BB, LBP_OP },
{ 0x2018, 0x2018, LBP_CL },
{ 0x201C, 0x201C, LBP_CL },
{ 0x2039, 0x2039, LBP_CL },
{ 0x203A, 0x203A, LBP_OP },
{ 0, 0, LBP_Undefined }
}
German-specifc data over the default Unicode rules.
Initial value: {
{ "en", 2, lb_prop_English },
{ "de", 2, lb_prop_German },
{ "es", 2, lb_prop_Spanish },
{ "fr", 2, lb_prop_French },
{ "ru", 2, lb_prop_Russian },
{ "zh", 2, lb_prop_Chinese },
{ NULL, 0, NULL }
}
Association data of language-specific line breaking properties with language names.
This is the definition for the static data in this file. If you want more flexibility, or do not need the data here, you may want to redefine lb_prop_lang_map in your C source file.
Initial value: {
{ 0x00AB, 0x00AB, LBP_OP },
{ 0x00BB, 0x00BB, LBP_CL },
{ 0x201C, 0x201C, LBP_CL },
{ 0, 0, LBP_Undefined }
}
Russian-specifc data over the default Unicode rules.
Initial value: {
{ 0x00AB, 0x00AB, LBP_OP },
{ 0x00BB, 0x00BB, LBP_CL },
{ 0x2018, 0x2018, LBP_OP },
{ 0x201C, 0x201C, LBP_OP },
{ 0x201D, 0x201D, LBP_CL },
{ 0x2039, 0x2039, LBP_OP },
{ 0x203A, 0x203A, LBP_CL },
{ 0, 0, LBP_Undefined }
}
Spanish-specifc data over the default Unicode rules.