View Single Post
Old 03-04-2013, 02:52 PM   #3
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,057
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I was able to get it to build, but it was a lot of work. The source code was out of date with the current firmware versions, and one of the necessary libraries wasn't on the devices anymore (libpbframework.so). After I got it working (added library to device, and library and header files to the build environment), and upgraded to a newer version of poppler, I played with the font rendering hints but never noticed any difference in the output. I was probably changing stuff in poppler/splash that was never used in the program. So given my lack of success and the fact that a different source version was actually being used on the devices, I gave up.

If you like, I could zip up what I have and make it available to you, but it's in a state of hackiness, and I can't even remember what I did to make it all work. I vaguely recall using Sergey's build environment for the last step rather than cmake, but I could be wrong.

As far as swapping out the rendering engine, if you look at the source code, you'll see that that would be a massive undertaking. I think you'd be better off starting a new application from scratch. At least that way, you won't have to mess with pbframework anymore.
rkomar is offline   Reply With Quote