![]() Since : 6.0 Remarks: scripts must be allocated before calling the function. Some characters are commonly used in multiple scripts. If codepoint is not a valid code point, then the one I18N_USCRIPT_UNKNOWN code is written.If codepoint does not have Script Extensions, then the one Script code is written to the output array.If codepoint does have Script Extensions, then the Script property value (normally Common or Inherited) is not included.The supplied array codes is of insufficient capacity Returns: 0 on success, otherwise a negative error value Return values: I18N_ERROR_NONE The number of items written to the array, or the required capacity if the array's capacity is insufficient ![]() ![]() The array of codes associated with the specified language The language, for which the script codes are to be retrieved If the required capacity is greater than the capacity of codes, then the length is set to the required capacity and I18N_ERROR_BUFFER_OVERFLOW is returned. Since : 6.0 Remarks: codes must be allocated before calling the function. That does a fast lookup with no access of the locale data. Note: To search by short or long script alias only, use i18n_uchar_get_property_value_enum() instead. Example: If "Malayam" or "Mlym" is given, the expected result is I18N_USCRIPT_MALAYALAM. The language is described using either locale, ISO 15924 name or ISO 15924 abbreviation. ![]() Zzzz, Unknown="Code for uncoded script", for unassigned code points I18N_USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC Zinh, "Code for inherited script", for non-spacing combining marks also Qaai Since : 2.4 Enumerator: I18N_USCRIPT_COMMON Gets a value indicating whether the script case distinctions in modern usage are customary.Ĭonstants for ISO 15924 script codes. I18n_uscript_is_cased ( i18n_uscript_code_e script) Gets a value indicating whether the script allows line breaks between letters (excluding hyphenation). I18n_uscript_breaks_between_letters ( i18n_uscript_code_e script) Gets a value indicating whether the script is written right-to-left. I18n_uscript_is_right_to_left ( i18n_uscript_code_e script) Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax. I18n_uscript_get_usage ( i18n_uscript_code_e script) I18n_uscript_get_sample_string ( i18n_uscript_code_e script, i18n_uchar *sample, int32_t capacity, int32_t *length) Gets the Script Extensions for the specified codepoint. I18n_uscript_get_script_extensions ( i18n_uchar32 codepoint, i18n_uscript_code_e *scripts, int32_t capacity, int32_t *length) Gets a value indicating whether the Script Extensions of the specified codepoint contain the specified script. I18n_uscript_has_script ( i18n_uchar32 codepoint, i18n_uscript_code_e script_code) Gets the script code associated with the given codepoint. I18n_uscript_get_script ( i18n_uchar32 codepoint, i18n_uscript_code_e *script_code) Gets the short script name for the specified script code. I18n_uscript_get_short_name ( i18n_uscript_code_e script_code) Gets the script name for the specified script code. I18n_uscript_get_name ( i18n_uscript_code_e script_code) Gets the script codes associated with the specified language. I18n_uscript_get_codes (const char *language, i18n_uscript_code_e *codes, int32_t capacity, int32_t *length)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |