Gpdf icon indicating copy to clipboard operation
Gpdf copied to clipboard

Fix single line of Arabic text distortion

Open smahi opened this issue 1 year ago • 1 comments

This is proposal for fixing a single Arabic line rendering issue, please check the following image Screenshot from 2024-09-04 22-31-17

The original text is

Screenshot from 2024-09-04 22-05-47

Screenshot from 2024-09-04 22-58-19

After a refactoring of the code is made the text was rendered correctly but did not take the full available space

Screenshot from 2024-09-04 22-56-06

But by allow the user to change the max_chars in gpdf.conf from default 50 to for example in my case 110, the issue was fixed

Screenshot from 2024-09-04 22-56-47

Screenshot from 2024-09-04 22-57-14

This solution allowed me to figure out to fix the issue, as it has been proposed by the author of the package khaled-alshamaa/ar-php

smahi avatar Sep 04 '24 22:09 smahi

When will this PR be merged? I am waiting for this PR as I am also facing this issue

chabid492 avatar Sep 11 '24 05:09 chabid492

Seems this issue still persists in the latest version! 🫤

faisal95bd avatar Nov 07 '24 15:11 faisal95bd