This version is out of date, covering development from v7.0.0 to v7.5.6. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox 7 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: 

 font   [other font-type attributes]

 MercurySSm-Book

 TextFormat   [other TextFormat Group attributes]

 Note text

 Yes

 No

 No

 Baseline

 


Default display font for new notes

The default value is inherited from Preferences, Text, Font. The default is MercurySSm-Book.

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