aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.from_codepoint_names.3
blob: 8732239d87dd200e4888e27746f210831021c7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Text.from_codepoint_names 3 2025-04-19T14:52:07.139903 "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.

.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.


.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 NOTES
The text will be normalized, so the resulting text's codepoints may not exactly match the input codepoints.

.SH EXAMPLES
.EX
>> Text.from_codepoint_names([
"LATIN CAPITAL LETTER A WITH RING ABOVE",
"LATIN SMALL LETTER K",
"LATIN SMALL LETTER E",
]
= "Åke"
.EE