Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 614
    • Issues 614
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poppler
  • poppler
  • Issues
  • #729

Closed
Open
Opened Feb 26, 2019 by Evadne Wu@evadne

Emoji rendered as all black with Cairo backend

I have a particular file, as attached, which is generated by entering an emoji in Google Doc, exporting it to PDF then cropping the page. It renders file in Acrobat and macOS Preview, but if I were to use pdftocairo this way:

pdftocairo input.pdf -pdf output.pdf

Then the output shows a black glyph instead of the intended colour glyph.

The same happens if I were to print to a Cairo context with poppler_page_render_for_printing_with_options, etc. So, I think the problem is within CairoFontEngine, possibly _render_type3_glyph?

This happens on Poppler 0.74 with Cairo 1.16, and I have verified that otherwise drawing emojis with PangoCairo works fine.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poppler/poppler#729