|
From: | Jan-Åke Larsson |
Subject: | Re: [Dvipng] Different image dimensions between dvipng 1.14 and 1.15 |
Date: | Sun, 6 Jan 2019 09:07:28 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
Hi, I am guessing here: perhaps Freetype handles antialiasing differently on the two platforms. You could try turning off Freetype by giving --freetype0, on both platforms. I'd not recommend this in general, but in this case matching
output exactly is more important than efficiency in execution time
or disk storage. So do try. Best
On 2019-01-05 10:32, Markus Triska
wrote:
Dear Jan-Åke, thank you for looking into this issue! The difference I noticed arises between different operating systems: The issue arises between dvipng 1.14 on Debian, and dvipng 1.15 on OSX. The full logs, obtained via $ dvipng -d -T tight -D 300 -o render.png render.dvi are, respectively: https://www.metalevel.at/ei/dvipng_debian https://www.metalevel.at/ei/dvipng_osx Please see below for the textual difference between these files. When I do "$ latex --version", I get on Debian: pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) kpathsea version 6.2.2 Copyright 2016 Han The Thanh (pdfTeX) et al. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. Compiled with libpng 1.6.28; using libpng 1.6.28 Compiled with zlib 1.2.8; using zlib 1.2.8 Compiled with poppler version 0.48.0 and on OSX: pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) kpathsea version 6.3.0 Copyright 2018 Han The Thanh (pdfTeX) et al. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. Compiled with libpng 1.6.35; using libpng 1.6.35 Compiled with zlib 1.2.11; using zlib 1.2.11 Compiled with poppler version 0.69.0 Is there anything I can do to eliminate this difference between the two installations, so that dvipng produces the same results? Thank you very much! Markus $ diff dvipng_debian dvipng_osx 1c1 < This is dvipng 1.14 Copyright 2002-2010 Jan-Ake Larsson ---This is dvipng 1.15 Copyright 2002-2015 Jan-Ake Larsson3,4c3,4 < @0 DVI START: PRE 2 25400000/473628672 1000 (3947) ' TeX output 2019.01.04:1952' < OPEN FILE: '/var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map' ---@0 DVI START: PRE 2 25400000/473628672 1000 (3947) ' TeX output 2019.01.04:1905' OPEN FILE: '/opt/local/var/db/texmf/fonts/map/dvips/updmap/ps2pk.map'18,20c18,20 < OPEN METRICS: '/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi10.tfm' < OPEN FILE: '/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi10.tfm' < OPEN FT FONT: '/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb' ---OPEN METRICS: '/opt/local/share/texmf-texlive/fonts/tfm/public/cm/cmmi10.tfm' OPEN FILE: '/opt/local/share/texmf-texlive/fonts/tfm/public/cm/cmmi10.tfm' OPEN FT FONT: '/opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi10.pfb'28,30c28,30 < OPEN METRICS: '/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr10.tfm' < OPEN FILE: '/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr10.tfm' < OPEN FT FONT: '/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb' ---OPEN METRICS: '/opt/local/share/texmf-texlive/fonts/tfm/public/cm/cmr10.tfm' OPEN FILE: '/opt/local/share/texmf-texlive/fonts/tfm/public/cm/cmr10.tfm' OPEN FT FONT: '/opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb'42,44c42,44 < OPEN METRICS: '/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm' < OPEN FILE: '/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm' < OPEN FT FONT: '/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb' ---OPEN METRICS: '/opt/local/share/texmf-texlive/fonts/tfm/public/cm/cmsy10.tfm' OPEN FILE: '/opt/local/share/texmf-texlive/fonts/tfm/public/cm/cmsy10.tfm' OPEN FT FONT: '/opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmsy10.pfb'90c90 < IMAGE: 505x43 ---IMAGE: 505x41105c105 < FT CHAR: 14 at (-1,31) tfmw 291271 ---FT CHAR: 14 at (-1,30) tfmw 291271111c111 < FT CHAR: ':' 58 at (30,31) tfmw 182045 ---FT CHAR: ':' 58 at (30,30) tfmw 182045115c115 < FT CHAR: 'Q' 81 at (53,31) tfmw 518098 ---FT CHAR: 'Q' 81 at (53,30) tfmw 518098121c121 < FT CHAR: 2 at (95,31) tfmw 509726 drift (-1,0) ---FT CHAR: 2 at (95,30) tfmw 509726 drift (-1,0)125c125 < FT CHAR: 0 at (137,31) tfmw 409601 ---FT CHAR: 0 at (137,30) tfmw 409601129c129 < FT CHAR: '!' 33 at (174,31) tfmw 655361 ---FT CHAR: '!' 33 at (174,30) tfmw 655361133c133 < FT CHAR: 'Q' 81 at (227,31) tfmw 518098 ---FT CHAR: 'Q' 81 at (227,30) tfmw 518098137c137 < FT CHAR: 2 at (269,31) tfmw 509726 drift (-1,0) ---FT CHAR: 2 at (269,30) tfmw 509726 drift (-1,0)141c141 < FT CHAR: 0 at (311,31) tfmw 409601 ---FT CHAR: 0 at (311,30) tfmw 409601145c145 < FT CHAR: 2 at (346,31) tfmw 509726 ---FT CHAR: 2 at (346,30) tfmw 509726148c148 < FT CHAR: 'f' 102 at (388,31) tfmw 327681 drift (1,0) ---FT CHAR: 'f' 102 at (388,30) tfmw 327681 drift (1,0)151c151 < FT CHAR: 'L' 76 at (409,31) tfmw 446010 ---FT CHAR: 'L' 76 at (409,30) tfmw 446010153c153 < FT CHAR: ';' 59 at (437,31) tfmw 182045 drift (1,0) ---FT CHAR: ';' 59 at (437,30) tfmw 182045 drift (1,0)156c156 < FT CHAR: 'R' 82 at (455,31) tfmw 497608 ---FT CHAR: 'R' 82 at (455,30) tfmw 497608160c160 < FT CHAR: 'g' 103 at (487,31) tfmw 327681 ---FT CHAR: 'g' 103 at (487,30) tfmw 327681_______________________________________________ Dvipng mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/dvipng --
Jan-Åke Larsson Professor, Head of Department
|
smime.p7s
Description: S/MIME Cryptographic Signature
[Prev in Thread] | Current Thread | [Next in Thread] |