add some script to build pdf2html on arm
many small fixed to make it ready for an image
bunch of small fixes