Skip to main content

Struct FdtReader.FontTableEntry

Glyph table entry.

Assembly: Dalamud.dll
Declaration
public struct FdtReader.FontTableEntry : IComparable<FdtReader.FontTableEntry>

Implements:
System.IComparable<Dalamud.Interface.GameFonts.FdtReader.FontTableEntry>

Properties

TextureFileIndex

Gets the index of the file among all the backing texture files.

Declaration
public int TextureFileIndex { get; }

TextureChannelIndex

Gets the channel index in the backing texture file.

Declaration
public int TextureChannelIndex { get; }

TextureChannelByteIndex

Gets the byte index in a multichannel pixel corresponding to the channel.

Declaration
public int TextureChannelByteIndex { get; }

AdvanceWidth

Gets the advance width of this character.

Declaration
public int AdvanceWidth { get; }

CharInt

Gets the Unicode codepoint of the character for this entry in int type.

Declaration
public int CharInt { get; }

Char

Gets the Unicode codepoint of the character for this entry in char type.

Declaration
public char Char { get; }

Fields

TextureChannelOrder

Mapping of texture channel index to byte index.

Declaration
public static readonly int[] TextureChannelOrder

CharUtf8

Integer representation of a Unicode character in UTF-8 in reverse order, read in little endian.

Declaration
public int CharUtf8

CharSjis

Integer representation of a Shift_JIS character in reverse order, read in little endian.

Declaration
public ushort CharSjis

TextureIndex

Index of backing texture.

Declaration
public ushort TextureIndex

TextureOffsetX

Horizontal offset of glyph image in the backing texture.

Declaration
public ushort TextureOffsetX

TextureOffsetY

Vertical offset of glyph image in the backing texture.

Declaration
public ushort TextureOffsetY

BoundingWidth

Bounding width of this glyph.

Declaration
public byte BoundingWidth

BoundingHeight

Bounding height of this glyph.

Declaration
public byte BoundingHeight

NextOffsetX

Distance adjustment for drawing next character.

Declaration
public sbyte NextOffsetX

CurrentOffsetY

Distance adjustment for drawing current character.

Declaration
public sbyte CurrentOffsetY

Methods

CompareTo(FontTableEntry)

Declaration
public int CompareTo(FdtReader.FontTableEntry other)
Returns

System.Int32

Parameters
TypeName
Dalamud.Interface.GameFonts.FdtReader.FontTableEntryother

Implements

  • System.IComparable<Dalamud.Interface.GameFonts.FdtReader.FontTableEntry>