-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 2 bugs #26
Comments
+1 |
What error message? |
Same error. I've sent the author an email with a complete bug report in April and he advised me to open an issue on Github. He is probably busy with other projects. |
I think that I found the bug, can you try to change DejaVuSans to another font? you can change in lib/text/text.js |
Sorry, I really need to get more time for this project. Is it possible that the DejaVuSans font is now installed on a different path ? It was chosen because it was part of the standard install on Raspbian releases. |
No. The load process starts Ok, with some fonts load Ok, If you want mode info plz tell me, I have time and desire to help, but I lack skill as a programmer. |
Had some time to go through this. Seems like a problem with libfreetype that is specific to the Pi 2. I'll get back as soon as I have more news. OT: Most probably next supported node version will be 1.0 / iojs 3.0. |
If I run an example (textAlign for instance), I get the SegFault as described above. If I run the same example in debug mode (node debug ...), everything works fine. Any idea why this might be? |
So with a little digging I'm thinking the issue actually speed of execution of the glyph loading functions in freetype. The Raspberry Pi 2 is simply put, much faster. I accidentally got it to work, albeit inconsistently, by actually slowing down the function using a Ultimately I rewrote the for loop using the async library's |
@dudewheresmycode Any luck on making this work on a Pi 2? |
@fu-raz PR created. Let me know if this works for the others experiencing the issue. Fork available at dudewheresmycode/node-openvg-canvas |
@dudewheresmycode You sir are my hero. Yes, it is working! |
Hello,
currently we can use 2 versions of node.js for Raspberry Pi 2 v0.12 and v0.10. openvg-canvas can't be built with v0.12 probably because of API changes in the new V8 version. What I find interesting is that v0.10 of node.js can build openvg-canvas but none of the examples will run on Raspberry Pi 2.
I also have a Raspberry Pi 1 B+, on this device node 0.10 can build openvg-canvas and all examples seems to work properly.
Any idea how to make openvg-canvas usable on Raspberry Pi 2 ?
The text was updated successfully, but these errors were encountered: