mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Fix FdtReader Distances count
This commit is contained in:
parent
53db62a6bf
commit
be020b567a
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ namespace Dalamud.Interface.GameFonts
|
|||
this.Glyphs.Add(glyphs[i]);
|
||||
|
||||
var kerns = (KerningTableEntry*)(ptr + this.FileHeader.KerningTableHeaderOffset + Marshal.SizeOf(this.KerningHeader));
|
||||
for (var i = 0; i < this.FontHeader.FontTableEntryCount; i++)
|
||||
for (var i = 0; i < this.FontHeader.KerningTableEntryCount; i++)
|
||||
this.Distances.Add(kerns[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue