Bug 101416 - stroking alpha constant not respected for pattern
Summary: stroking alpha constant not respected for pattern
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-14 01:21 UTC by novalazy+freedesktop
Modified: 2018-08-20 22:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test case (1.95 KB, application/pdf)
2017-06-14 01:21 UTC, novalazy+freedesktop
Details

Description novalazy+freedesktop 2017-06-14 01:21:29 UTC
Created attachment 131940 [details]
test case

In the attached test case, we stroke a rectangle using a shading pattern. The stroking alpha constant (CA) is set to 0.25 but the stroke is drawn opaquely. It seems to use the nonstroking alpha constant (ca) instead, which is still at the initial value of 1.0.

The test case draws two more shapes for comparison.

1. stroke a rectangle with a solid colour: the stroking alpha constant is respected in this case.

2. fill a rectangle with the shading pattern; the nonstroking alpha constant is respected.
Comment 1 novalazy+freedesktop 2017-06-14 03:19:49 UTC
I see the problem with poppler_qt4viewer as well.
Comment 2 Albert Astals Cid 2017-06-14 07:31:27 UTC
Then it is not cairo specific
Comment 3 GitLab Migration User 2018-08-20 22:04:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/178.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.