From 5b14562e05457d96a6524b5aa2e533e69cf30fb2 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 21 Apr 2024 15:20:27 +0200 Subject: Add uprop_get_scx() --- data/ScriptExtensions | 635 +++++++++++++++++++++++++++++++++++++++ gen/data-files | 1 + gen/prop/scx | 97 ++++++ include/unicode/prop.h | 1 + lib/unicode/prop/uprop_get_scx.c | 180 +++++++++++ 5 files changed, 914 insertions(+) create mode 100644 data/ScriptExtensions create mode 100755 gen/prop/scx create mode 100644 lib/unicode/prop/uprop_get_scx.c diff --git a/data/ScriptExtensions b/data/ScriptExtensions new file mode 100644 index 0000000..23141fb --- /dev/null +++ b/data/ScriptExtensions @@ -0,0 +1,635 @@ +# ScriptExtensions-15.1.0.txt +# Date: 2023-02-01, 23:02:24 GMT +# © 2023 Unicode®, Inc. +# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. +# For terms of use, see https://www.unicode.org/terms_of_use.html +# +# Unicode Character Database +# For documentation, see https://www.unicode.org/reports/tr44/ +# +# The Script_Extensions property indicates which characters are commonly used +# with more than one script, but with a limited number of scripts. +# For each code point, there is one or more property values. Each such value is a Script property value. +# For more information, see: +# UAX #24, Unicode Script Property: https://www.unicode.org/reports/tr24/ +# Especially the sections: +# https://www.unicode.org/reports/tr24/#Assignment_Script_Values +# https://www.unicode.org/reports/tr24/#Assignment_ScriptX_Values +# +# Each Script_Extensions value in this file consists of a set +# of one or more abbreviated Script property values. The ordering of the +# values in that set is not material, but for stability in presentation +# it is given here as alphabetical. +# +# The Script_Extensions values are presented in sorted order in the file. +# They are sorted first by the number of Script property values in their sets, +# and then alphabetically by first differing Script property value. +# +# Following each distinct Script_Extensions value is the list of code +# points associated with that value, listed in code point order. +# +# All code points not explicitly listed for Script_Extensions +# have as their value the corresponding Script property value +# +# @missing: 0000..10FFFF;