freetype/harfbuzz: correct Position struct layout
There's an undocumented private field in this struct which wasn't replicated, meaning getGlyphPositions was returning garbage data.
This commit is contained in:
parent
fcb82345d4
commit
2af8d5025b
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ pub const Position = extern struct {
|
||||||
y_advance: i32,
|
y_advance: i32,
|
||||||
x_offset: i32,
|
x_offset: i32,
|
||||||
y_offset: i32,
|
y_offset: i32,
|
||||||
|
_padding: u32, // private
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const GlyphFlags = packed struct {
|
pub const GlyphFlags = packed struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue