Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiGetFont

hiGetFont(
S_fontType 
) 
=> t_fontType / l_fontList / nil

Description

Returns the font type (if valid), or a list of valid font types if t_fontType is all. This function is being provided for compatibility with previous releases and should no longer be used.

Argument

S_fontType

One of the following as a string or symbol:

'text, “text”, 'label, ”label”, 'ciw, “ciw”, or 'all or “all”.

'all or “all” returns a list of valid font types.

Values Returned

t_fontType

The font type (string) if valid.

l_fontList

The list of valid font types (string) if the argument is "all" or 'all.

nil

The font type is not one of “text”, “label”, “ciw”, or “all”.

A warning message is displayed.

Examples

hiGetFont('text) 
=> "text"
hiGetFont("label")
=> "label"
hiGetFont('notafont)
=> nil
hiGetFont("all")
=> ("label" "text" "ciw")

Related Topics

Text Attribute Functions

hiSetFont


Return to top
 ⠀
X