Barcode displayed as black rectangle in Xreader, correct in Chromium

Open
#578 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
desktop

Research direction

Start with unreadable_barcode.pdf from the issue and reproduce the second-page rendering in Xreader 3.2.2, comparing it with Chromium or Firefox and reviewing issue 577 for related context. Done means the barcode renders with visible bars in Xreader and the supplied reproduction remains correct.

Written by the indexing model from the issue text.

Description

 * Xreader version 3.2.2
 * Distribution - Mint 20.3 Cinnamon 5.2.7

Issue

This issue was originally reported here , but with the wrong PDF file. Since the original issue is now closed and I cannot re-open it, I see no other option then to create a new issue.

This is the original PDF. It displays correctly in Chromium, Firefox, and several other PDF readers, but not in Xreader. Check the barcode on the second page. unreadable_barcode.pdf

The document reported in the initial issue contained only the second page, and was created by "printing" that page to a file using Xreader. It seems that that created a bad PDF.

Steps to reproduce

Open document included above, check the second page. The barcode looks like a black rectangle, with the bars only vaguely visible.

Expected behaviour

Barcode should look like a barcode.

Other information

Screenshots can be found in issue 577 referenced above.

Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/xreader

All issues in linuxmint/xreader

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.