Red Hat Bugzilla – Bug 443269
asymptote.pdf manual pictures are, ahem, underwhelming
Last modified: 2008-05-13 11:29:14 EDT
Description of problem:
Pictures from /usr/share/doc/asymptote-1.42/asymptote.pdf are full
of "jaggies". For somebody who does not know better that would be
an excellent reason not to touch this software at all.
Let me guess - pictures were produced by asymptote as .jpg or .png
in a default screen density and included as graphics in pdf(la)tex
run to write asymptote.pdf. Right?
It apppers that one of the following options could be used to prevent
that nasty effect:
- write pictures as .eps and use (la)tex -> dvips -> ps2pdf route to
- produce manual graphics in a pdf format and include those instead
- use custom 'convert' with much higher density than a default one
if .png, or .jpg, pictures are really needed (see pages 144 and 145
of the pdf file in question for details).
If I am guessing correctly then the second option would be likely the
Version-Release number of selected component (if applicable):
Now I am quite confused. I grabbed asymptote-1.42-2.fc9.src.rpm
and configured that enough to be able to type 'make asymptote.pdf'
in a 'doc' subdirectory of build. That indeed used pdf graphics,
produced smaller asymptote.pdf file that the one from a binary package
(1458743 bytes vs. 1837242) and all pictures inside, even after a zoom
to 400%, look sharp. Something went askew in a build process.
Rebuilt CAD.pdf and /usr/share/doc/asymptote-1.42/CAD.pdf are of
the same size (67444 bytes).
Weird. make install calls "make doc", which doesn't actually call "make pdf". As
far as I can tell, the PDF I was packaging is what gets generated by the make
doc process, which is producing png and passing all of that to pdftex.
Adding make pdf in there resolves it, I'll commit that to rawhide and in F-9.
I have to admit that I did not review Makefiles or went through
the whole build process. I only tried what would happen after
I typed 'make asymptote.pdf' with configured sources and a copy
of 'asy' available in the "right" place.
Thanks for taking care.
Confirmed that 1.42-3 fixes this issue. When F-9 releases, I'll push 1.42-3 as
an update (this really doesn't merit a freeze break, IMHO). It is also in rawhide.
Thanks for the report.
asymptote-1.42-3.fc9 has been submitted as an update for Fedora 9
asymptote-1.42-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.