Difference between revisions of "SHIP:Fonts"

From Serious Documentation
Jump to: navigation, search
(Created page with "== Font Resources == == Font Defaults == == Font Overrides and Selection ==")
 
(Font Resources)
Line 1: Line 1:
 
== Font Resources ==
 
== Font Resources ==
 +
 +
Fonts are instantiated in the [[SHIP:Node#Resources_Area|Resources area]].
 +
 +
=== Font Families ===
 +
The first step in making a font available to {{Node|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 {{Node|fontfamilyinfo}} node in the {{Node|resources}} area holds this information.  You can add a font family into [[SHIPTide]] a number of ways:
 +
* With the {{Node|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 {{Node|fontfamilyinfo}} node might look like this:
 +
 +
[[File:SHIPTide-fontExample1.png|900px|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):
  
 
== Font Defaults ==
 
== Font Defaults ==
  
 
== Font Overrides and Selection ==
 
== Font Overrides and Selection ==

Revision as of 08:38, 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