-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libpaper 1.2 breaks a TeX Live psutils test #23
Comments
Thanks for this report, which is certainly apropos (it helps that I'm the upstream maintainer of psutils too; I'm hoping that version 2 will soon be adopted by TeXLive!). Yes, the new libpaper is supposed to be 100% compatible with the old. Having done a lot of testing assuming that TeXLive was using the old psutils 1.17, I see that in fact it's using my version 1.23, which uses paper size information from libpaper! Suddenly, it makes sense that the output would change! However, TeXLive patches psutils 1.23 to use libpaper differently from the upstream version of psutils (there are tedious but good reasons for this). If you can edit |
Thanks for the feedback and tips. Here are the requested values, printed to 18 decimals(!).
The long 999 and 000 segments from libpaper 1.1 are interesting, but I don't know what to make of them... Ideas? |
Thanks very much for this. I am not really worried about such tiny errors (it just suggests that slightly different operations are being done in each case), and also both libpaper 1.2 and psutils 2 have their own test suites, so these tests will become obsolete. I would suggest updating the test results for now; when TeXLive adopts psutils 2.x, it will no longer need its own tests. |
Agreed; these miniscule differences seem safe to ignore. Thanks for having a look! :-) |
Hi! Sorry for bothering you about breakage in an unrelated package, but I'm not sure whether this is a regression in libpaper or a flawed test. Is the new libpaper supposed to be 100% compatible with 1.1?
After updating libpaper from 1.1.24 to 1.2.1, the TeX Live
psresize
test started failing:The
playres.ps
file can be found here: https://github.com/TeX-Live/texlive-source/blob/trunk/texk/psutils/tests/playres.psI don't speak PostScript, but it looks like one Y coordinate is off by 0.000002, which should be insignificant for units smaller than kilometers, but still... Rounding error perhaps? This is on a x86_64 GNU/Linux system (GNU Guix).
Thoughts?
The text was updated successfully, but these errors were encountered: