forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfontLanguage.lcdoc
More file actions
49 lines (34 loc) · 1021 Bytes
/
Copy pathfontLanguage.lcdoc
File metadata and controls
49 lines (34 loc) · 1021 Bytes
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
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,web
Example:
the fontLanguage of "Osaka"
Parameters:
fontName: The name of any font that is installed on the current system.
Returns (enum): The <fontLanguage> of a font is one of the following:
- 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_st), uniDecode (function), Unix (glossary), Unicode (glossary)
Tags: text processing