Difference between revisions of "Fonts.tbl"

From FreeSpace Wiki
Jump to: navigation, search
(formatting)
(clarify how the fonts can be used)
Line 3: Line 3:
 
{{TableVersion|5751}}
 
{{TableVersion|5751}}
  
The '''fonts.tbl''' is a recent addition to the SCP allowing the definitiion of non-standard fonts at certain places within the game. Currently, fonts.tbl is utilized in only two situations - either as part of the [[Fiction Viewer|fiction viewer]] or with the show-subtitle-text sexp. Currently, up to five fonts are supported.
+
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.  
  
  

Revision as of 07:49, 1 November 2013

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.