forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfontSizes.lcdoc
More file actions
42 lines (27 loc) · 937 Bytes
/
fontSizes.lcdoc
File metadata and controls
42 lines (27 loc) · 937 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
Name: fontSizes
Type: function
Syntax: the fontSizes of <fontName>
Syntax: fontSizes(<fontName>)
Summary:
<return|Returns> a list of the font sizes available for a specified
<font>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
the fontSizes of "Arial"
Parameters:
fontName:
The name of a font that is installed on the system.
Returns:
The <fontSizes> <function> <return|returns> a list of numbers that
represent point sizes, one per <line>.
Description:
Use the <fontSizes> <function> to determine which font sizes can be
displayed or printed without creating "jaggies".
If zero appears in the list returned by the <fontSizes> <function>, the
<font> is scalable, meaning that it can be displayed at any size
supported by the operating system.
References: function (control structure), fontStyles (function),
font (glossary), return (glossary), line (keyword)
Tags: ui