aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.from_codepoint_names.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Text.from_codepoint_names.3')
-rw-r--r--man/man3/tomo-Text.from_codepoint_names.338
1 files changed, 38 insertions, 0 deletions
diff --git a/man/man3/tomo-Text.from_codepoint_names.3 b/man/man3/tomo-Text.from_codepoint_names.3
new file mode 100644
index 00000000..2d0dd186
--- /dev/null
+++ b/man/man3/tomo-Text.from_codepoint_names.3
@@ -0,0 +1,38 @@
+'\" t
+.\" Copyright (c) 2025 Bruce Hill
+.\" All rights reserved.
+.\"
+.TH Text.from_codepoint_names 3 2025-04-19T14:30:40.367510 "Tomo man-pages"
+.SH NAME
+Text.from_codepoint_names \- Returns text that has the given codepoint names (according to the Unicode specification) as its codepoints. Note: the text will be normalized, so the resulting text's codepoints may not exactly match the input codepoints.
+
+.SH LIBRARY
+Tomo Standard Library
+.SH SYNOPSIS
+.nf
+.BI "Text.from_codepoint_names : func(codepoint_names: [Text] -> [Text])"
+.fi
+
+.SH DESCRIPTION
+Returns text that has the given codepoint names (according to the Unicode specification) as its codepoints. Note: the text will be normalized, so the resulting text's codepoints may not exactly match the input codepoints.
+
+
+.TS
+allbox;
+lb lb lbx lb
+l l l l.
+Name Type Description Default
+codepoint_names [Text] The names of each codepoint in the desired text (case-insentive). -
+.TE
+.SH RETURN
+A new text with the specified codepoints after normalization has been applied. Any invalid names are ignored.
+
+.SH EXAMPLES
+.EX
+>> Text.from_codepoint_names([
+"LATIN CAPITAL LETTER A WITH RING ABOVE",
+"LATIN SMALL LETTER K",
+"LATIN SMALL LETTER E",
+]
+= "Åke"
+.EE