Bug Hunting Session
Bug 127176 - 'Noto Nastaliq Urdu' font does not render correctly when justified.
Summary: 'Noto Nastaliq Urdu' font does not render correctly when justified.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2019-08-27 05:02 UTC by Nasir
Modified: 2019-09-15 20:42 UTC (History)
1 user (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 Khaled Hosny 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).