SHIP:Fonts

From Serious Documentation
Revision as of 08:38, 28 November 2012 by Admin (talk | contribs) (Font Resources)
Jump to: navigation, search

Font Resources

Fonts are instantiated in the Resources area.

Font Families

The first step in making a font available to text within the SHIP GUI is to import a font file and declare what characters from that font file your GUI needs to have available. SHIPTide understands True Type fonts, normally files with a ".ttf" suffix in most operating systems.

The fontfamilyinfo node in the resources area holds this information. You can add a font family into SHIPTide a number of ways:

  • With the resources node) selected, Add New->fontfamilyinfo}},
  • Use the File->import media wizard
  • Drag a .ttf file from your OS desktop anywhere into SHIPTide

An example fontfamilyinfo node might look like this:

Example fontfamilyinfo Node

In this example, the fBigNumbers font uses the Square721BT.ttf True Type font file. It also includes the following codepoints (16-bit unicode characters):

Font Defaults

Font Overrides and Selection