dvi2bitmap-users Mailing List for dvi2bitmap
Status: Beta
Brought to you by:
normang
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Norman G. <no...@as...> - 2017-04-06 09:11:50
|
Shreevatsa, hello. On 5 Apr 2017, at 21:44, Shreevatsa R wrote: > I have a question about the dvi2bitmap tool from 2005 (so glad that > someone > has written this!) What a delightful surprise! -- it's been a while since I last thought about 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. dvi2bitmap doesn't really have any idea how big the output bitmap is (the DVI format doesn't include information on paper size, slightly unexpectedly), so it starts off with a rough but fairly generous estimate. This works fine in the (more common) case where you plan to tightly crop the output anyway. However you can specify an output bitmap size with options --height and --width (both in pixels), or indeed option --paper-size. Just for old-times' sake I implemented the papersize=<height>,<width> special which originated with dvips, but which is more widely recognised. I'll release a v1.1 when that's tidy. If you try using --paper-size=usletter, as suggested above, you'll discover, as I did, that dvi2bitmap thinks that USLetter paper is 8" x 8"; it seems that this has been wrong for a while, and no-one has noticed. Best wishes, Norman -- Norman Gray : https://nxg.me.uk SUPA School of Physics and Astronomy, University of Glasgow, UK |
|
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 |
|
From: Norman G. <no...@as...> - 2005-08-21 17:53:08
|
Greetings. I've released dvi2bitmap version 0.13, which is now available at sourceforge, at <http://dvi2bitmap.sourceforge.net> and <https:// sourceforge.net/projects/dvi2bitmap/>. There are no functional changes from the final beta, version 0.13b3, released two months ago. Please report any problems at the dvi2bitmap bug reporting pages off the project summary page. Best wishes, Norman -- ---------------------------------------------------------------------- Norman Gray / http://www.astro.gla.ac.uk/users/norman/ Physics & Astronomy, Glasgow University, UK |