• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Inferno
    • CollisionMode
    • DrawMode
    • Game
    • Game.OnResizeEventArgs
    • GameState
    • GameState.StateOnDrawEventArgs
    • GameWindow
    • Instance
    • MathHelper
    • Matrix
    • Point
    • Rectangle
    • Settings
    • SpatialMode
    • UpdateMode
    • Vector2
    • Vector3
    • Vector4
  • Inferno.Audio
    • AudioDevice
    • Sound
  • Inferno.Content
    • ContentLoader
  • Inferno.Formats.Audio
    • WaveFormat
  • Inferno.Formats.Graphics.Text
    • FontFormat
  • Inferno.Graphics
    • Camera
    • Color
    • GraphicsDevice
    • PlatformType
    • Renderable
    • RenderableType
    • Renderer
    • RenderSortMode
    • RenderTarget
    • Shader
    • ShaderLanguage
    • ShaderType
    • Sprite
    • Texture2D
    • Tileset
  • Inferno.Graphics.Text
    • Font
    • FontBuilder
  • Inferno.Input
    • ButtonState
    • Key
    • Keyboard
    • Keyboard.KeyEventArgs
    • KeyboardState
    • KeyState
    • Mouse
    • MouseState
  • Inferno.Tiled
    • RenderOrder
    • TiledLayer
    • TiledLayerChunk
    • TiledLoader
    • TiledMap
    • TiledMapOrientation
    • TiledObject
    • TiledObjectLayer
    • TiledVersion
  • Inferno.UI
    • MessageBox
    • MessageBoxType
    • UserInterface
  • Inferno.UI.Controls
    • Button
    • Control
    • Control.ControlClickedEvent
    • Control.ControlHoveredEvent
    • Control.TextChangedEventArgs
    • ControlState
    • Cursor
    • Label

Class FontFormat

Inheritance
System.Object
FontFormat
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Inferno.Formats.Graphics.Text
Assembly: Inferno.Desktop.dll
Syntax
public class FontFormat

Fields

| Improve this Doc View Source

CharMap

Declaration
public float[] CharMap
Field Value
Type Description
System.Single[]
| Improve this Doc View Source

Header

Declaration
public const string Header = "INFERNOFONT"
Field Value
Type Description
System.String
| Improve this Doc View Source

Height

Declaration
public int Height
Field Value
Type Description
System.Int32
| Improve this Doc View Source

LineHeight

Declaration
public int LineHeight
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SpaceSize

Declaration
public int SpaceSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

TextureData

Declaration
public uint[] TextureData
Field Value
Type Description
System.UInt32[]
| Improve this Doc View Source

Version

Declaration
public const string Version = "VERSION_1.2"
Field Value
Type Description
System.String
| Improve this Doc View Source

Width

Declaration
public int Width
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

FromStream(Stream)

Declaration
public static FontFormat FromStream(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream
Returns
Type Description
FontFormat
| Improve this Doc View Source

Update1_1Stream(Stream, Stream)

Update a font file from V1.1 to V1.2

Declaration
[Obsolete("This should only be used to upgrade old files then be removed, do not use this permanently.")]
public static void Update1_1Stream(Stream stream, Stream outStream)
Parameters
Type Name Description
System.IO.Stream stream

Stream to update

System.IO.Stream outStream

Output stream

| Improve this Doc View Source

WriteOut(Stream)

Declaration
public void WriteOut(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream
  • Improve this Doc
  • View Source
Back to top Generated by DocFX