LibGfx/OpenType: Fix typo in 'kern' table parsing

Thanks to Timon for spotting this :^)
This commit is contained in:
Andreas Kling 2023-03-21 15:32:22 +01:00
commit a7a1df42c7
Notes: sideshowbarker 2024-07-18 08:59:31 +09:00

View file

@ -206,7 +206,7 @@ i16 Kern::get_glyph_kerning(u16 left_glyph_id, u16 right_glyph_id) const
auto const& subtable_header = *bit_cast<SubtableHeader const*>(subtable_slice.data());
auto version = subtable_header.version;
auto length = subtable_header.version;
auto length = subtable_header.length;
auto coverage = subtable_header.coverage;
if (version != 0) {