Bug 94231 - kpdf line art antialiasing
Summary: kpdf line art antialiasing
Status: RESOLVED FIXED
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
: 128029 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-01 19:52 UTC by Dmitriy Morozov
Modified: 2007-07-31 18:13 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
acrobat-1.png (18.33 KB, image/png)
2004-12-01 23:37 UTC, Dmitriy Morozov
Details
kpdf-1.png (20.14 KB, image/png)
2004-12-01 23:37 UTC, Dmitriy Morozov
Details
example-1.pdf (1.83 KB, application/pdf)
2004-12-01 23:37 UTC, Dmitriy Morozov
Details
gv-1.png (13.90 KB, image/png)
2004-12-01 23:37 UTC, Dmitriy Morozov
Details
kghostview-1.png (25.69 KB, image/png)
2004-12-01 23:37 UTC, Dmitriy Morozov
Details
another example pdf (662.30 KB, application/pdf)
2006-05-25 20:42 UTC, Pascal d'Hermilly
Details
image comparison between evince and kpdf-3.5.7 (20.37 KB, image/png)
2007-07-26 22:12 UTC, Mike Frysinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Morozov 2004-12-01 19:52:45 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Gentoo Packages

While the text looks great in kpdf, the figures are not anti-aliased. By figures I mean, for example, eps files included in the latex files before conversion to ps and then pdf. I would like to see an option that allows one to turn on such anti-aliasing. In acroread, there is a switch that turns it on (I think it's called Smooth Line Art). KGhostView smoothes figures together with text by default, I think.
Comment 1 Albert Astals Cid 2004-12-01 22:17:58 UTC
Could you attach a example file? Thanks
Comment 2 Dmitriy Morozov 2004-12-01 23:37:23 UTC
example.pdf is attached. Screenshots of various programs (acroread, 
kghostview, gv, and kpdf) on my computer are also attached. Acrobat 
in my opinion does the best job with antialiasing, but all but kpdf 
look good.

Thanks a lot for looking into this and  for the last one (fixing the 
watch file option).

On Wednesday 01 December 2004 04:18 pm, Albert Astals Cid wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=94231
>
>
>
>
> ------- Additional Comments From tsdgeos terra es  2004-12-01 22:17
> ------- Could you attach a example file? Thanks


Created an attachment (id=8514)
acrobat-1.png

Created an attachment (id=8515)
kpdf-1.png

Created an attachment (id=8516)
example-1.pdf

Created an attachment (id=8517)
gv-1.png

Created an attachment (id=8518)
kghostview-1.png
Comment 3 Dmitriy Morozov 2004-12-01 23:48:06 UTC
I guess kghostview uses ghostscript to get antialiasing - it looks 
much better when (in the settings) -dGraphicsAlphaBits is set to 4 
(in the previous screenshot it was set to 2). Just a quick remark.

Comment 4 Tiago Freire 2005-02-01 19:32:55 UTC
Yes, this cannot be that hard. I vote for this too, as it is basic for nice presentation, and line art usage is really good since it reduces tremendously the file size. our company embeds a vector logo and it looks very bad on kpdf. This feature (smooth line art) used to be disabled on default acrobat reader installations, but now it is enabled by default.
Comment 5 Albert Astals Cid 2005-02-01 19:48:56 UTC
Are you volunteering to implement it?
Comment 6 Dmitriy Morozov 2005-02-01 20:18:33 UTC
It might make sense to wait since Qt 4 will have some support for 
anti-aliasing. I don't know to what extent, but it's better then 
nothing. 

Another alternative (that might be a really good idea if somebody has 
time to implement it) would be to integrate anti-grain into kpdf - 
that would allow for a lot of features. http://www.antigrain.com

I am not volunteering to implement it. Sorry.

On Tuesday 01 February 2005 01:49 pm, Albert Astals Cid wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=94231
>
>
>
>
> ------- Additional Comments From tsdgeos terra es  2005-02-01 19:48
> ------- Are you volunteering to implement it?

Comment 7 Albert Astals Cid 2005-02-01 20:30:09 UTC
The are "you volunteering for it" was not for you Dmitriy but for tmpfreire@terra.com.br as he said it could not be that hard.

About waiting for Qt4 it will not help as kpdf uses xpdf rendering engine that is completely unrelated to Qt.
Comment 8 Dmitriy Morozov 2005-02-01 20:37:56 UTC
Oh, I see. So the real course would be to try to integrate AntiGrain 
into xpdf?

On Tuesday 01 February 2005 02:30 pm, Albert Astals Cid wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=94231
>
>
>
>
> ------- Additional Comments From tsdgeos terra es  2005-02-01 20:30
> ------- The are "you volunteering for it" was not for you Dmitriy
> but for tmpfreire terra com br as he said it could not be that
> hard.
>
> About waiting for Qt4 it will not help as kpdf uses xpdf rendering
> engine that is completely unrelated to Qt.

Comment 9 Gilles Schintgen 2005-05-12 11:15:46 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 Arne Schmitz 2006-05-08 14:35:19 UTC
Yes, line-art antialiasing would totally rock! :)
Comment 11 michel 2006-05-13 09:18:44 UTC
Well, I totally agree, this is actually the only thing that keeps me away from kpdf. I have too many figures in my documents that are not rendered properly (with anti-aliasing I mean...). Otherwise, it is a great program, disigned in a very clever way.
Comment 12 Albert Astals Cid 2006-05-25 19:38:26 UTC
*** Bug 128029 has been marked as a duplicate of this bug. ***
Comment 13 Pascal d'Hermilly 2006-05-25 20:42:45 UTC
Created attachment 16273 [details]
another example pdf
Comment 14 Hugo Costelha 2007-01-18 12:40:50 UTC
From what I have read, evince has line-art anti-aliasing because it uses poppler with the cairo backend. As far as I understand, KPDF still uses the xpdf library (from which poppler was forked), but Okular (the kpdf replacement for KDE4) will use the poppler library too.

Given this, it does not seem to be enough to use poppler, has in Okular case, the poppler's qt backend will need to support anti-aliasing.

Will this happend?
Comment 15 Pino Toscano 2007-01-18 13:12:10 UTC
@ comment 14: you're right, okular uses poppler already.
But, the Qt4 native renderer of poppler currently needs *a lot* of work. At the moment, the Splash renderer (the native xpdf one) is used.
Comment 16 Albert Astals Cid 2007-03-11 13:34:59 UTC
kpdf will have antialias in kpdf 3.5.7
Comment 17 Mike Frysinger 2007-07-26 22:12:37 UTC
Created attachment 21257 [details]
image comparison between evince and kpdf-3.5.7

i'm using kpdf-3.5.7 and i dont get anti-aliasing in my images ...
Comment 18 Pino Toscano 2007-07-27 13:11:23 UTC
Can you attach the document please?
Comment 20 Pascal d'Hermilly 2007-07-31 13:02:39 UTC
The anti-aliasing in kpdf 3.5.7 aka. 0.5.7 works fine for me, even with the document you refer to.
Mike: Did you check if you enabled anti-aliasing in the kde font-settings? (you may have to restart X)
Comment 21 Mike Frysinger 2007-07-31 18:13:36 UTC
i'd be angry if the rest of my KDE wasnt anti aliased ;)

i think the answer may be even simpler ... ive gotten so used to not rebooting that some of my machines have a few hundred days of uptime ... so while i may have kpdf 3.5.7 installed, the kde backends running in memory dont really reflect that.  after restarting X, my pdf looks much nicer :)

thanks !