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 657
    • Issues 657
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 39
    • Merge requests 39
  • 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
  • #68
Closed
Open
Created Nov 09, 2016 by Bugzilla Migration User@bugzilla-migration

Invisible pattern hatching in some cases

Submitted by Elliott Sales de Andrade

Assigned to poppler-bugs

Link to original bug (#98650)

Description

Created attachment 127861 Hatching pattern example

In the attached file, all four rectangles should be painted with a Pattern with the same diagonal lines. Using poppler-glib-demo to render this file, the rectangle in the bottom left does not show any lines. The same thing occurs in evince (as expected, I guess, since it's using poppler-glib as well.)

If I use okular (which uses poppler-qt, if I'm not mistaken), then the bottom-left rectangle shows the lines.

If I use pdftocairo, the lines do not appear in any of the outputs.

If I use pdftops or pdftoppm and view the result in evince/eog, the lines do appear.

Additionally, I can round-trip through ghostscript with pdftops hatching.pdf - | ps2pdf - test.pdf and that file does work.

In summary:

Method | Works? ------------------+-------- poppler-glib-demo | No evince | No okular | Yes pdftocairo -png | No pdftops + evince | Yes pdftoppm + eog | Yes pdftops + ps2pdf | Yes

This fails with both Fedora's poppler-0.41.0-3.fc24.x86_64 and the poppler-0.48 tag from git that I compiled myself.

The file was created with Matplotlib and if there's some way to easily tweak the file to get it working in all cases, I can make that adjustment.

Attachment 127861, "Hatching pattern example":
hatching.pdf

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