fontSizes

returns a list of the font sizes available for a specified font.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

the fontSizes of fontName

# Params

- fontName : The name of a font that is installed on the system.

# Examples

the fontSizes of "Arial"

# 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.

# Tags

ui,

# See

- **keyword:** line - **function:** fontStyles - **glossary:** font, return - **control structure:** function