Closed FortressBuilder closed 7 years ago
First of all, thank you for taking the time to try Pris and to file an issue. Apologies for the late reply, I somehow missed this issue.
I’ve pushed a fix in 1f651a7. Does that solve the issue for you?
Yes, thank you :-)
At the moment pris fails to build on 32 bit platforms. The problem seems to be in
src/cairo.rs
, line 231:Glyph::new
takes au64
as the first parameter, butself.0.index
is ac_ulong
, which is au32
on 32 bit platforms and thus cannot be implicitly converted into au64
. The solution is to explicitly cast it, which should work on both 32 and 64 platforms: