forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfontSizes.xml
More file actions
45 lines (45 loc) · 1.79 KB
/
Copy pathfontSizes.xml
File metadata and controls
45 lines (45 loc) · 1.79 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
<doc>
<legacy_id>1993</legacy_id>
<name>fontSizes</name>
<type>function</type>
<syntax>
<example>the fontSizes of <i>fontName</i></example>
<example>fontSizes(<i>fontName</i>)</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Appearance & Positioning</category>
</classification>
<references>
<function tag="fontStyles">fontStyles Function</function>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> a list of the font sizes available for a specified <glossary tag="font">font</glossary>.</summary>
<examples>
<example>the fontSizes of "Arial"</example>
</examples>
<description>
<p>Use the <b>fontSizes</b> <control_st tag="function">function</control_st> to determine which font sizes can be displayed or printed without creating "jaggies".</p><p/><p><b>Parameters:</b></p><p>The <i>fontName</i> is the name of a <glossary tag="font">font</glossary> that is installed on the system.</p><p/><p><b>Value:</b></p><p>The <b>fontSizes</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of numbers that represent point sizes, one per <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>If zero appears in the list returned by the <b>fontSizes</b> <control_st tag="function">function</control_st>, the <glossary tag="font">font</glossary> is scalable, meaning that it can be displayed at any size supported by the operating system.</p>
</description>
</doc>