xreader: special characters are wrong in index/outline

Open
#608 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the issue in xreader using the linked Czech PDF, then compare its index/outline characters with the same document in Brave and with the second PDF example. Trace how xreader displays PDF outline entries and identify why some characters are rendered incorrectly; done means the affected Czech characters display correctly without breaking the other index entries.

Written by the indexing model from the issue text.

Description

 * xreader 3.2.2
 * Linux Mint 20.3 Una amd64

Issue

I have ebook written in Czech language and I see that several Czech characters are not displayed correctly in the index/outline. Content of the book is rendered correctly, I see issue only in the Index. I see that when I open the same book in the Brave browser (it has internal PDF reader), I cannot see this bug, so I assume that ebook is generated correctly and the bug is in the xreader

xreader - bug

Steps to reproduce

Download eBook, open it in xreader and check Index on the left.

Expected behaviour

Index:

  • 1 přední
  • 21 lekcí_print_vers1
  • 2 zadní
    Brave browser - OK

Other information
I have found other ebook example and in this book I cannot see this issue, Index has correct characters. So it looks like only some ebooks trigger this issue and others are ok...

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.