hwhw/kindlepdfviewer — pull request #507 by dpavlin (2012-10-29 21:08:48+00:00)
Title: increase margin to 50px and correctly calulate zoom

This is important to correctly position page with bbox on screen and leave margin. If page doesn't have bbox we just ignore margins because we can't shift page using offset in current code anyway and it would just incorrectly shift page