Bug 127176 - 'Noto Nastaliq Urdu' font does not render correctly when justified.
Summary: 'Noto Nastaliq Urdu' font does not render correctly when justified.
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard: target:7.5.0 inReleaseNotes:7.5
Keywords:
Depends on:
Blocks: Font-Rendering Kashida-Justification
  Show dependency treegraph
 
Reported: 2019-08-27 05:02 UTC by Nasir
Modified: 2022-12-07 15:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
PDF Document showing difference in rendering while justified (36.64 KB, application/pdf)
2019-08-27 05:02 UTC, Nasir
Details
Test Document containing text and embedded 'Noto Nastaliq Urdu' font (244.33 KB, application/vnd.oasis.opendocument.text)
2019-09-05 12:50 UTC, Nasir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nasir 2019-08-27 05:02:30 UTC
Created attachment 153679 [details]
PDF Document showing difference in rendering while justified

Whenever some Arabic/Urdu text is in 'Noto Nastaliq Urdu' font and text alignment is justified, text does not render correctly in LibreOffice. LibreOffice apparently  tries justify text using Tatweel characters which causes the shapes to be broken. A sample pdf file is attached which contains right aligned and justified text and rendering difference. This problem occurs in all LibreOffice versions.
Comment 1 Xisco Faulí 2019-09-05 11:44:06 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 Nasir 2019-09-05 12:50:49 UTC
Created attachment 153916 [details]
Test Document containing text and embedded 'Noto Nastaliq Urdu' font
Comment 3 ⁨خالد حسني⁩ 2019-09-15 20:42:09 UTC
We do not currently have a way to disable Kashida justification and force using spaces only for Arabic text, which is breaking this font.

This probably requires both UX input (who would this be handled? in MS Office the full justification button has a menu this shows three levels of justification), and whether ODT format supports such control (OOXML probably does).
Comment 4 QA Administrators 2021-09-15 03:36:39 UTC Comment hidden (noise)
Comment 6 Stéphane Guillou (stragu) 2022-12-07 15:53:53 UTC
Fix verified in:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: da3dd48eaf9086f8ab28d6a6655f9a638e51433a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded