Go to the source code of this file.
◆ EastAsianWidthClass
East Asian Width (ea) class.
This is defined in Unicode Standard Annex 11.
| Enumerator |
|---|
| EAW_A | Ambiguous.
|
| EAW_F | Fullwidth.
|
| EAW_H | Halfwidth.
|
| EAW_Na | Narrow.
|
| EAW_W | Wide.
|
| EAW_N | Neutral.
|
◆ ub_get_char_eaw_class()
Gets the East Asian Width class of a character.
- Parameters
-
- Returns
- the East Asian Width class if found;
EAW_N otherwise
◆ ub_is_op_east_asian()
| bool ub_is_op_east_asian |
( |
utf32_t | ch | ) |
|
Returns whether an OP (Open Punctuation) is East Asian.
For the purpose of supporting LB30, being "east asian" here means the char has East_Asian_Width Property F/W/H.
- Parameters
-
| ch | Unicode codepoint (must be an OP) |
- Returns
- it is east asian or not