Fonts.tbl

From FreeSpace Wiki
Revision as of 07:49, 1 November 2013 by Niffiwan (talk | contribs) (clarify how the fonts can be used)
Jump to: navigation, search
This feature requires FreeSpace Open

Revision information.....

FSO Revision: 5751
Note: Please update the version when the page is updated. If your edit had nothing to do with new code entries then please do not edit the version


The fonts.tbl is a recent addition to the SCP allowing the definition of non-standard fonts. Currently, up to five fonts are supported. The HUD gauges, show-subtitle-text sexp and the [Fiction Viewer|fiction viewer]] can be manually set to any font in fonts.tbl. The rest of the fonts used in FSO (e.g. techroom text) are hardcoded to one of the first three fonts that are parsed.


List of Tables

General Info

  • Begins with #Fonts or #Fiction Viewer
  • Ends with #End

$Font:

  • Lists font files to use.
  • Syntax: String

Sample Entry

#Fonts

$Font: font01.vf
$Font: font02.vf
$Font: font03.vf

#End

Sample Entry (Fiction Viewer)

#Fiction Viewer

$File: [text file]
$Font: [font file]

References

  1. "Re: Feature Request: 4th font (especially for fiction viewer)", Hard Light Productions Forums, Hard Light Productions, 24-12-2009. Retrieved on January 28, 2011.