[tex-k] dvipdfmx: Apparent bug

Akira Kakuto kakuto at jcom.zaq.ne.jp
Mon May 9 23:21:26 CEST 2022


On 2022/05/09 19:03, Laurence Finston wrote:
> I've run across what would appear to be a bug in dvipdfmx:
> 
> The font ttemp is meant to illustrate the max. width and height+depth of MF characters
> at different resolutions.
> 
> This works:
> 
> # (Generate the fonts:  See Makefile in attached tarball.)
> tex ttemp.tex
> dvips -o ttemp_dvips.ps -X 300 -Y 300 ttemp.dvi
> ps2pdf ttemp_dvips.ps
> 
> This doesn't:
> 
> dvipdfmx -r 300 -o ttemp_dvipdfmx.pdf filename ttemp.dvi
> 
> As the screenshot shows, the font `ttemp' is not loaded at 300dpi.  At the 300dpi,
> the width and the height + depth of the characters are both 4095 pixels == 6.825in.
> The page size is DIN A2 (420mm x 594mm).

In your Makefile,

ttemp.pdf: ttemp.dvi
	dvipdfmx ttemp.dvi

there is not -r 300, so the default, 600dpi is used.

Here, ttemp_dvipdfmx.pdf is the same as ttemp_dvips.pdf by
dvipdfmx -r 300 -o ttemp_dvipdfmx.pdf ttemp.dvi

Thanks,
Akira


More information about the tex-k mailing list.