This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

TextFont


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 string   [other string-type attributes]

 Hoefler Text

 TextFormat   [other TextFormat Group attributes]

 Text appearance

 Yes

 No

 No

 Already in v5.0.0

 


Sets the default or "normal" font for each note; it is used only when applying Plain text style, or in newly-created notes.

The default value is inherited from Preferences, Text, Font. The default is Hoefler Text.

This attribute allows a class of notes (e.g. via a prototype) to inherit a specific body text font via a prototype.

$TextFont is easily overridden simply by selecting a font from the Font palette.

IMPORTANT: Changes to this attribute affect only those notes with no current $Text. Once anything has been added to $Text, inheritance is broken. Thereafter $Text uses the relevant attribute settings as at the time the text was added; they are effectively 'baked' into the $Text. The only way to 'reset' text with the wrong $TextFont value is to select the text and apply plain text formatting (Style menu). WARNING: setting plain text resets all $Text styling attributes. Is is not possible to 'reset' only font but not colour, text size, bolding, etc., as might be otherwise intuited.

$TextFont is used for any Text set via an action or rule.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Attributes : System Attribute List : TextFont