Lines Matching refs:script
22 * \brief C API: Unicode Script Information
26 * Constants for ISO 15924 script codes.
28 * Many of these script codes - those from Unicode's ScriptNames.txt -
29 * are character property values for Unicode's Script property.
30 * See UAX #24 Script Names (http://www.unicode.org/reports/tr24/).
32 * Starting with ICU 3.6, constants for most ISO 15924 script codes
38 * For example, there are no characters that have a UCD script code of
39 * Hans or Hant. All Han ideographs have the Hani script code.
40 * The Hans and Hant script codes are used with CLDR data.
42 * ISO 15924 script codes are included for use with CLDR and similar.
48 * Note: UScriptCode constants and their ISO script code comments
51 * USCRIPT_<Unicode Script value name> = <integer>, / * <ISO script code> * /
59 USCRIPT_INHERITED = 1, /* Zinh */ /* "Code for inherited script", for non-spacing combining marks; also Qaai */
136 /** Canadian_Aboriginal script. @stable ICU 2.6 */
138 /** Canadian_Aboriginal script (alias). @stable ICU 2.2 */
170 /** New script code in Unicode 4.0.1 @stable ICU 3.0 */
189 /* New script codes from ISO 15924 */
279 USCRIPT_UNKNOWN = 103,/* Zzzz */ /* Unknown="Code for uncoded script", for unassigned code points */
281 /* New script codes from ISO 15924 */
307 /* New script codes from ISO 15924 */
337 /* New script codes from ISO 15924 */
347 /* New script codes from ISO 15924 */
413 * Gets script codes associated with the given locale or ISO 15924 abbreviation or name.
419 * <p>Note: To search by short or long script alias only, use
422 * @param nameOrAbbrOrLocale name of the script, as given in
424 * @param fillIn the UScriptCode buffer to fill in the script code
427 * @return The number of script codes filled in the buffer passed in
434 * Gets a script name associated with the given script code.
437 * @return script long name as given in
445 * Gets a script name associated with the given script code.
448 * @return script abbreviated name as given in
456 * Gets the script code associated with the given codepoint.
467 * Do the Script_Extensions of code point c contain script sc?
469 * c has the Script property value sc.
477 * @param sc script code
486 * to the output scripts array and returns the number of script codes.
487 * - If c does have Script_Extensions, then the Script property value
489 * - If c does not have Script_Extensions, then the one Script code is written to the output array.
492 * then the output array contains exactly c's single Script code.
493 * If the return value is n>=2, then the output array contains c's n Script_Extensions script codes.
498 * If there are more than capacity script codes to be written, then
505 * @param scripts output script code array
511 * @return number of script codes in c's Script_Extensions, or 1 for the single Script value,
521 * Script usage constants.
530 /** Unknown script usage. @stable ICU 51 */
534 /** Limited Use script. @stable ICU 51 */
536 /** Aspirational Use script. @stable ICU 51 */
538 /** Recommended script. @stable ICU 51 */
543 * Writes the script sample character string.
545 * The string is empty if the script is not encoded.
547 * @param script script code
555 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
564 * Returns the script sample character string.
566 * The string is empty if the script is not encoded.
568 * @param script script code
573 uscript_getSampleUnicodeString(UScriptCode script);
578 * Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax.
579 * Returns USCRIPT_USAGE_NOT_ENCODED if the script is not encoded in Unicode.
581 * @param script script code
582 * @return script usage
587 uscript_getUsage(UScriptCode script);
590 * Returns TRUE if the script is written right-to-left.
593 * @param script script code
594 * @return TRUE if the script is right-to-left
598 uscript_isRightToLeft(UScriptCode script);
601 * Returns TRUE if the script allows line breaks between letters (excluding hyphenation).
602 * Such a script typically requires dictionary-based line breaking.
605 * @param script script code
606 * @return TRUE if the script allows line breaks between letters
610 uscript_breaksBetweenLetters(UScriptCode script);
613 * Returns TRUE if in modern (or most recent) usage of the script case distinctions are customary.
616 * @param script script code
617 * @return TRUE if the script is cased
621 uscript_isCased(UScriptCode script);