up Inquisit Language Reference

font attribute

Deprecated Replaced by fontstyle

The font attribute specifies the font in which text is presented.

Member of

<defaults> <instruct> <likert> <openended> <sliderTrial> <text>

Syntax

/ font = (name, height, weight, characterset, family)

Parameters

Name Type Description
name string A string indicating the name of the font.
height integer An integer that specifies the height, in logical units, of the font. If the value is positive, it specifies the cell height of the font. If the value is negative, it specifies the character height. If it is "0", the font mapper uses a default height value.
weight integer An integer ranging from 0 to 900 that specifies the font thickness. A value of "400" indicates normal weight. A value of 700 indicates bold.
characterset integer An integer value specifying the character set of the font (e.g., ANSI, Chinese, Hebrew, Arabic, etc.).
family integer An integer value that specifies the pitch and family of the font.

Remarks

This attribute is obsolete and is included for backwards compatibility only. Please use the fontStyle attribute instead.

Examples

The following sets the font to 14pt Arial bold:

<text myText>
/ font = ("Arial", -19, 700, 0, 34)
/ items = ("yada yada yada")
</text>

Copyright Millisecond Software, LLC. All rights reserved.