Bug 443269

Summary: asymptote.pdf manual pictures are, ahem, underwhelming
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: asymptoteAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.42-3.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-13 15:29:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Jaegermann 2008-04-19 23:39:33 UTC
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
    create asymptote.pdf
  - 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
easiest one.

Version-Release number of selected component (if applicable):
asymptote-1.42-2.fc9

Comment 1 Michal Jaegermann 2008-04-20 01:27:19 UTC
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).

Comment 2 Tom "spot" Callaway 2008-04-25 20:52:38 UTC
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.

Comment 3 Michal Jaegermann 2008-04-26 01:21:29 UTC
> Weird....

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.

Comment 4 Tom "spot" Callaway 2008-04-26 12:10:32 UTC
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.

Comment 5 Fedora Update System 2008-04-29 17:50:41 UTC
asymptote-1.42-3.fc9 has been submitted as an update for Fedora 9

Comment 6 Fedora Update System 2008-05-13 15:29:12 UTC
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.