mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibGfx/OpenType: Fix typo in 'kern' table parsing
Thanks to Timon for spotting this :^)
This commit is contained in:
parent
9e00ef0849
commit
a7a1df42c7
1 changed files with 1 additions and 1 deletions
|
@ -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 const& subtable_header = *bit_cast<SubtableHeader const*>(subtable_slice.data());
|
||||||
|
|
||||||
auto version = subtable_header.version;
|
auto version = subtable_header.version;
|
||||||
auto length = subtable_header.version;
|
auto length = subtable_header.length;
|
||||||
auto coverage = subtable_header.coverage;
|
auto coverage = subtable_header.coverage;
|
||||||
|
|
||||||
if (version != 0) {
|
if (version != 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue