1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

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
parent 9e00ef0849
commit a7a1df42c7

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) {