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
32 lines (18 loc) · 927 Bytes
/
fontSizes.lcdoc
File metadata and controls
32 lines (18 loc) · 927 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
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,web,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: line (keyword), function (control_st), fontStyles (function), font (glossary), return (glossary)
Tags: ui