[Dvi2bitmap-users] Question about dvi2bitmap: generating bitmap of entire page
Status: Beta
Brought to you by:
normang
|
From: Shreevatsa R <shr...@gm...> - 2017-04-05 20:44:16
|
Hi, I have a question about the dvi2bitmap tool from 2005 (so glad that someone has written this!) I would fully understand if there's no interest in answering this question about a tool that hasn't been touched since, but asking just in case :-) I am trying to generate a bitmap of the entire page (so 8.5 inches x 11 inches, for paper-size=usletter), and not sure how to achieve this with dvi2bitmap. When I try ./dvi2bitmap --process=nocrop ../hello.dvi I get a bitmap of size 934 x 1688 pixels. At the default resolution of 110 pixels (ibmvga mode), I would expect 935 x 1210 pixels instead (8.5*110 x 11*110). I'm not sure why there's one pixel less in the horizontal direction, and 478 additional pixels (about 4.35 inches) that appear to be appended to the bottom of the page. Similarly at other resolutions: ./dvi2bitmap --resolution=600 --font-mode=ljfour --process=nocrop ../hello.dvi produces a bitmap of size 5099 x 9209 pixels, instead of 5100 x 6600 pixels (again one pixel less in the horizontal direction, and about 4.35 inches (2609 additional pixels) that appear to be appended to the bottom of the page). The dvi file is rather simple; it was generated by running `tex` on a file `hello.tex` containing just hello \bye I might be doing something wrong here; any help would be appreciated. Regards, Shreevatsa |