Bug 456414 - inline notes does not support RTL (bidirectional text support and shaping)
Summary: inline notes does not support RTL (bidirectional text support and shaping)
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.04.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 19:03 UTC by Zayed Al-Saidi
Modified: 2022-07-07 10:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test document (1.97 MB, application/pdf)
2022-07-06 19:03 UTC, Zayed Al-Saidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zayed Al-Saidi 2022-07-06 19:03:16 UTC
Created attachment 150450 [details]
test document

The Arabic inline notes are not rendered correctly. It lacks the bidirectional text support as well as the proper shaping (i.e. the letters are disconnected.)

In the attached test document, the same text which are in original PDF is put as inline note. 
The text is: بسم الله الرحمن الرحيم


for reference: https://github.com/HOST-Oman/libraqm
Comment 1 Albert Astals Cid 2022-07-06 21:47:44 UTC
Do I understand that you're saying that both lines of text should be rendered the same?

Not even Adobe Reader is doing that https://i.imgur.com/59UpQfa.png  

Which if I'm not making a mistake is exactly the same that Okular renders, no?
Comment 2 Zayed Al-Saidi 2022-07-07 10:53:59 UTC
(In reply to Albert Astals Cid from comment #1)
> Do I understand that you're saying that both lines of text should be
> rendered the same?
Yes. They should be rendered the same.

> Not even Adobe Reader is doing that https://i.imgur.com/59UpQfa.png  
It is a bug in Adobe Reader :) and I can't report it because it is a closed software. 

> Which if I'm not making a mistake is exactly the same that Okular renders,
> no?
Unfortunately, you are correct.