Text selection renders incorrect glyphs
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 283
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
* Xreader version 1.4.4
* Distribution - Mint 18.2
Issue
Viewing a PDF, selecting text with mouse or ctrl -a renders the selected text as incorrect glyphs (looks like junk, not legible)

Steps to reproduce
Select text in a pdf document using Helvetica but not embedded.
Expected behaviour
Text should be the same font glyphs with reverse color and maybe bolded?
Other information
Document properties says fonts in PDF are Helvetica and Helevetica-Bold, not embedded, these do not appear to be installed on the system. Seems like a legible substitute is being found for non selected text, but not when selected?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Xreader 1.4.4 with a PDF using unembedded Helvetica or Helvetica-Bold, then compare normal and selected text rendering. Investigate the text-selection path and verify that selecting text, including with Ctrl-A, preserves legible glyphs; no source file or test is named in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100