Printing PDF documents from Xreader

Open
#591 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the print behavior with the attached TestDoc.pdf on Fedora 37 using Xreader 3.6.3, comparing 100% and 200% scaling on A4 paper. Done means the document prints at its original A4 dimensions and the scale option changes the output size as expected.

Written by the indexing model from the issue text.

Description

 * Xreader version (xreader --version) 3.6.3
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...) Fedora 37 (Cinnamon)_

Issue
It feels as though Xreader is trying to scale my A4 document to fit the shorter letter size paper and not looking at anything else - but of course, I could be wrong about that.
Why does Xreader not print PDF documents at their original size?

Steps to reproduce
I created a document in Libreoffice Writer. I added some text and then used Format->Borders to put a box round it. The rulers in Writer showed the box as being 17 cm wide x 3.5 cm high.
I printed the document from Writer and the box did indeed have those measurements.
I used Writer to create a PDF document. I took the PDF to a machine running Windows XP with Adobe Reader and printed the document on the same printer and the text box had the same measurements.
However, opening the PDF document on my Fedora machine (using the default Xreader) and printing, the text box only measures 15.6x3.1 cm.
I also used the option to scale the output - I selected 200% and this time the box measured 15.6x3.1 cm - exactly the same as 100% size.

Expected behaviour
I would expect a document created for A4 size to fit A4 paper - and I would expect the scale option to make the document larger or smaller according to the setting

Other information
TestDoc.pdf

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.