# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
fontStyles (fontName, fontSize)
# Params
- fontName : The name of a font that is installed on the system. - fontSize : A point size that exists for the font.
# Examples
fontStyles ("Helvetica", 9)
fontStyles (thisFont, 0)
# Description
Use the fontStyles function to determine which font styles can be displayed or printed.
If you specify a fontSize of zero, the styles return are the ones that are scalable for the specified font. The font styles are returned in a return delimited list, such as the following one:
plain bold italic bold-italic
# Tags
ui,
# See