forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfontLanguage.xml
More file actions
43 lines (43 loc) · 1.87 KB
/
Copy pathfontLanguage.xml
File metadata and controls
43 lines (43 loc) · 1.87 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
<doc>
<legacy_id>1631</legacy_id>
<name>fontLanguage</name>
<type>function</type>
<syntax>
<example>the fontLanguage of <i>fontName</i></example>
<example>fontLanguage(<i>fontName</i>)</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Appearance & Positioning</category>
<category>Text and Data Processing</category>
</classification>
<references>
<function tag="uniDecode">uniDecode Function</function>
</references>
<history>
<introduced version="2.1">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<summary>Returns the language associated with a <glossary tag="Unicode">Unicode</glossary> font.</summary>
<examples>
<example>the fontLanguage of "Osaka"</example>
</examples>
<description>
<p>Use the <b>fontLanguage</b> <control_st tag="function">function</control_st> to list only the fonts intended for a particular language.</p><p/><p><b>Parameters:</b></p><p>The <i>fontName</i> is the name of any font that is installed on the current system.</p><p/><p><b>Value:</b></p><p>The <b>fontLanguage</b> of a font is one of the following:</p><p>* ANSI (for English-language fonts)</p><p>* Arabic</p><p>* Bulgarian</p><p>* Chinese</p><p>* Greek</p><p>* Hebrew</p><p>* Japanese</p><p>* Korean</p><p>* Polish</p><p>* Roman</p><p>* Russian</p><p>* Thai</p><p>* Turkish</p><p>* SimpleChinese</p><p>* Ukrainian</p><p/><p><b>Comments:</b></p><p>For a list of all fonts installed on the current system, use the <b>fontNames</b> function.</p><p/><p><code/><img src="202652"/> <b>Cross-platform note:</b><code/> On <glossary tag="Unix">Unix systems</glossary>, the <b>fontLanguage</b> always returns "English".</p>
</description>
</doc>