Closed richo closed 4 years ago
Or I guess thinking about this more I can just cast to FT_Pos
and FT_Fixed
and let freetype
deal with it. I don't have strong opinions so let me know if you'd prefer I did this some other way!
Casting to the freetype types makes more sense to me.
Updated, thankyou! A test fails on my arm machine but I'm not sure if that's a regression or it never worked.
Please run cargo fmt to make CI happy :)
I just copied the type from the underlying struct but if you prefer I'm happy to use the rust types and do some target_pointer_width shenanigans.