mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibGfx: Correct the type of Lookup.subtable_offsets
According to the spec (and the variable name), it should be an array of offsets, not u16s. Noticed while watching Andreas' most recent video.
This commit is contained in:
parent
27d9ed0224
commit
bc23b07570
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ struct Lookup {
|
|||
BigEndian<u16> lookup_type;
|
||||
BigEndian<u16> lookup_flag;
|
||||
BigEndian<u16> subtable_count;
|
||||
BigEndian<u16> subtable_offsets[];
|
||||
Offset16 subtable_offsets[];
|
||||
};
|
||||
|
||||
// https://learn.microsoft.com/en-us/typography/opentype/spec/chapter2#lookup-list-table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue