Struct FdtReader.FontTableEntry
Glyph table entry.
Assembly: Dalamud.dll
View Source
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.
View Source
public int TextureFileIndex { get; }
TextureChannelIndex
Gets the channel index in the backing texture file.
View Source
public int TextureChannelIndex { get; }
TextureChannelByteIndex
Gets the byte index in a multichannel pixel corresponding to the channel.
View Source
public int TextureChannelByteIndex { get; }
AdvanceWidth
Gets the advance width of this character.
View Source
public int AdvanceWidth { get; }
CharInt
Gets the Unicode codepoint of the character for this entry in int type.
View Source
public int CharInt { get; }
Char
Gets the Unicode codepoint of the character for this entry in char type.
View Source
public char Char { get; }
Fields
TextureChannelOrder
Mapping of texture channel index to byte index.
View Source
public static readonly int[] TextureChannelOrder
CharUtf8
Integer representation of a Unicode character in UTF-8 in reverse order, read in little endian.
View Source
public int CharUtf8
CharSjis
Integer representation of a Shift_JIS character in reverse order, read in little endian.
View Source
public ushort CharSjis
TextureIndex
Index of backing texture.
View Source
public ushort TextureIndex
TextureOffsetX
Horizontal offset of glyph image in the backing texture.
View Source
public ushort TextureOffsetX
TextureOffsetY
Vertical offset of glyph image in the backing texture.
View Source
public ushort TextureOffsetY
BoundingWidth
Bounding width of this glyph.
View Source
public byte BoundingWidth
BoundingHeight
Bounding height of this glyph.
View Source
public byte BoundingHeight
NextOffsetX
Distance adjustment for drawing next character.
View Source
public sbyte NextOffsetX
CurrentOffsetY
Distance adjustment for drawing current character.
View Source
public sbyte CurrentOffsetY
Methods
CompareTo(FontTableEntry)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
View Source
public int CompareTo(FdtReader.FontTableEntry other)
Returns
System.Int32
: A value that indicates the relative order of the objects being compared. The return value has these meanings:
<table><thead><tr><th class="term"> Value</th><th class="description"> Meaning</th></tr></thead><tbody><tr><td class="term"> Less than zero</td><td class="description"> This instance precedes <code class="paramref">other</code> in the sort order.</td></tr><tr><td class="term"> Zero</td><td class="description"> This instance occurs in the same position in the sort order as <code class="paramref">other</code>.</td></tr><tr><td class="term"> Greater than zero</td><td class="description"> This instance follows <code class="paramref">other</code> in the sort order.</td></tr></tbody></table>
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Interface.GameFonts.FdtReader.FontTableEntry | other | An object to compare with this instance. |
Implements
System.IComparable<Dalamud.Interface.GameFonts.FdtReader.FontTableEntry>