I tried to use it on a Raspberry Pi Zero and got incorrect PDF files. After some research, it turned out that CurTransMat::combine_matrix does not work on the target arm-unknown-linux-gnueabi due to a bug in Rust compiler.
This MR implements a workaround.
The only problem is that Rust currently doesn't support cfg(target) and therefore this workaround will also apply to all ARMs, regardless. But this shouldn't be a problem. If accuracy and performance are very important, I will make this fix an optional feature.
Thanks for the library!
I tried to use it on a Raspberry Pi Zero and got incorrect PDF files. After some research, it turned out that
CurTransMat::combine_matrix
does not work on the targetarm-unknown-linux-gnueabi
due to a bug in Rust compiler.This MR implements a workaround.
The only problem is that Rust currently doesn't support cfg(target) and therefore this workaround will also apply to all ARMs, regardless. But this shouldn't be a problem. If accuracy and performance are very important, I will make this fix an optional feature.