Summary: | stroking alpha constant not respected for pattern | ||
---|---|---|---|
Product: | poppler | Reporter: | novalazy+freedesktop |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | test case |
I see the problem with poppler_qt4viewer as well. Then it is not cairo specific -- 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.
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.