Difference between revisions of "SHIP:Fonts"

From Serious Documentation
Jump to: navigation, search
(Font Resources)
(Font Families)
Line 13: Line 13:
 
An example {{Node|fontfamilyinfo}} node might look like this:
 
An example {{Node|fontfamilyinfo}} node might look like this:
  
[[File:SHIPTide-fontExample1.png|900px|border|center|Example {{Node|fontfamilyinfo}} Node]]
+
[[File:SHIPTide-fontExample1.png|400px|border|center|Example {{Node|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):
 
In this example, the '''fBigNumbers''' font uses the '''Square721BT.ttf''' True Type font file.  It also includes the following codepoints (16-bit unicode characters):

Revision as of 08:39, 28 November 2012

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