Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 659
    • Issues 659
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #456
Closed
Open
Created Jun 14, 2017 by Bugzilla Migration User@bugzilla-migration

alpha constant on tiling pattern

Submitted by nov..@..il.com

Assigned to poppler-bugs

Link to original bug (#101417)

Description

Created attachment 131943 test case

In the attached test case, the main content stream

  1. sets the nonstroking colour to a tiling pattern
  2. sets the nonstroking alpha constant to 0.5
  3. fills a rectangle.

The tiling pattern itself sets the nonstroking alpha constant to 0.75, then paints a blue pattern cell.

I thought that the pattern cell should be rendered with alpha 0.75, then when it is used to fill the rectangle, the alpha constant 0.5 also has an effect. So the final image would be a blue rectangle with alpha 0.75 * 0.5. This is the behaviour exhibited by Acrobat, xpdf, poppler/test/gtk-test, and poppler/qt4/demos/poppler_qt4viewer

However, the output with evince and poppler-glib-demo is a blue rectangle with alpha 0.75, where the alpha constant set in the main content stream has no effect on the filling of the rectangle.

Sorry if this is not a bug, or if it is filed in the wrong place.

Attachment 131943, "test case":
alpha-tiling-pattern.pdf

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking