Bug 687674 - No Antialiasing in Luminosity-based SMask
Summary: No Antialiasing in Luminosity-based SMask
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 8.14
Hardware: PC Windows XP
: P3 normal
Assignee: Michael Vrhel
URL:
Keywords: bountiable
: 688261 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-14 11:13 UTC by Adam Augusta
Modified: 2011-07-20 17:13 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments
AntiAliasing Transparency Mask Test Case PDF (3.04 KB, application/pdf)
2004-09-14 11:26 UTC, Adam Augusta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Augusta 2004-09-14 11:13:30 UTC
I have a luminosity-based SMask being applied to a colored rectangle.  This 
SMask contains partially-opaque letters on a transparent background.

For a given pixel, the opacity applied to the rectangle is only one of two 
values -- either 1) the opacity of the overlapping letter or 2) fully 
transparent.  There is no antialiasing of text in the SMask, even with 
dTextAlphaBits/dGraphicsAlphaBits=4.  This results in jaggy letters.  Acrobat 
Reader antialiases the transparency mask.

Consequently, my application has to render at 4x and resample, which takes a 
long time.

Minimalist PDF located at: AntiAliasingColorCheck.pdf
Comment 1 Adam Augusta 2004-09-14 11:24:38 UTC
Sorry.  Minimalist PDF found at URL below.

http://users.wpi.edu/~roxton/AntiAliasingTransparencyCheck.pdf
Comment 2 Adam Augusta 2004-09-14 11:26:36 UTC
Created attachment 895 [details]
AntiAliasing Transparency Mask Test Case PDF
Comment 3 Jack Moffitt 2004-09-15 08:33:42 UTC
Confirmed with CVS HEAD.
Comment 4 Raph Levien 2004-09-15 10:04:52 UTC
This is a known limitation of 1.4 transparency handling; there should be more
implementation of antialiasing.
Comment 5 Stefan Kemper 2005-08-17 09:40:41 UTC
*** Bug 688261 has been marked as a duplicate of this bug. ***
Comment 6 Masaki Ushizaka 2009-08-18 04:33:38 UTC
Reproduced with r9999.  Using x11 device, Mac OS X 10.5.8, Xcode 3.1.2.
Comment 7 Ralph Giles 2009-08-18 09:09:06 UTC
Passing to Michael, who has been working on this code.
Comment 8 Michael Vrhel 2011-04-01 18:05:44 UTC
Fixed with rev 12341
Comment 9 Adam Augusta 2011-04-01 18:46:45 UTC
Oh, wow.  Thanks, Michael!
Comment 10 Adam Augusta 2011-07-20 15:58:40 UTC
Related: Bug 691704
Comment 11 Adam Augusta 2011-07-20 17:13:43 UTC
(In reply to comment #10)
> Related: Bug 691704

Embarrassing, wrong number in my clipboard:
Bug 692353