forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfontLanguage.lcdoc
More file actions
58 lines (40 loc) · 1.01 KB
/
fontLanguage.lcdoc
File metadata and controls
58 lines (40 loc) · 1.01 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Name: fontLanguage
Type: function
Syntax: the fontLanguage of <fontName>
Syntax: fontLanguage(<fontName>)
Summary:
Returns the language associated with a <Unicode> font.
Introduced: 2.1
OS: mac, windows, linux
Platforms: desktop, server
Example:
the fontLanguage of "Osaka"
Parameters:
fontName:
The name of any font that is installed on the current system.
Returns (enum):
- ANSI: for English-language fonts
- Arabic:
- Bulgarian:
- Chinese:
- Greek:
- Hebrew:
- Japanese:
- Korean:
- Polish:
- Roman:
- Russian:
- Thai:
- Turkish:
- SimpleChinese:
- Ukrainian:
Description:
Use the <fontLanguage> <function> to list only the fonts intended for a
particular language.
For a list of all fonts installed on the current system, use the
fontNames function.
>*Cross-platform note:* On <Unix|Unix systems>, the <fontLanguage>
> always returns "English".
References: function (control structure), uniDecode (function),
Unix (glossary), Unicode (glossary)
Tags: text processing