Bug 151184 - Rendering defects (black horizontal lines) in Arabic/Persian text when exporting ODS to PDF
Summary: Rendering defects (black horizontal lines) in Arabic/Persian text when export...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 151187
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-26 07:33 UTC by mohammadreza shahedi
Modified: 2022-09-26 15:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Video of Bug (22.66 MB, video/mp4)
2022-09-26 07:45 UTC, mohammadreza shahedi
Details
a sample file for test (33.71 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-09-26 07:47 UTC, mohammadreza shahedi
Details
the PDF file that have problem (25.90 KB, application/pdf)
2022-09-26 07:47 UTC, mohammadreza shahedi
Details
Vazir font - versian I used (7.95 MB, application/zip)
2022-09-26 07:48 UTC, mohammadreza shahedi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohammadreza shahedi 2022-09-26 07:33:01 UTC
Description:
Hello, excuse me I use Linux Ubuntu 18.04.6 and LibreOffice 7.4.0.3. i insert a Chart with Click on "Insert Chart" in LibreOffice Calc or other Softwares (LibreOffice Writer, LibreOffice Impress and etc) i can't Apply Persian Font that solve by Enable "Complex text layout" on Language Settings but after export PDF or maybe Print (of course i am not sure about printing because I have never printed a file.) Persian Words of Chart have Underline some Words but this problem doesn't happen in Software (for example LibreOffice Calc) that i insert chart and if i export chart as image and select SVG format and insert that Instead Chart and then export PDF this problem doesn't happen.

i think should report this problem to solve it if this is a problem.
and maybe scroll of opacity of an object (for example a chart background) has a little problem because when changed, percent change but scroll doesn't change, that's mean scroll doesn't change which after click on a empty part in sidebar scroll change, but percent change and apply anyway.

this is the link of font that used in test file:
https://rastikerdar.github.io/vazirmatn

Please Notice to video that will attach.

Thanks for your consideration.

Steps to Reproduce:
1.insert Chart in a Document (for example a Spreadsheet)
2.enter persian title and subtitle
3.export as PDF

Actual Results:
Persian Words of Chart have a problem in PDF after Export as PDF, that's mean some words have Something like Underline.

Expected Results:
Persian Words in PDF file should be display correctly, similar to when we export a Chart as image and select SVG Format and then Insert SVG file Instead Chart.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 mohammadreza shahedi 2022-09-26 07:45:14 UTC
Created attachment 182675 [details]
Video of Bug
Comment 2 mohammadreza shahedi 2022-09-26 07:47:14 UTC
Created attachment 182676 [details]
a sample file for test
Comment 3 mohammadreza shahedi 2022-09-26 07:47:57 UTC
Created attachment 182677 [details]
the PDF file that have problem
Comment 4 mohammadreza shahedi 2022-09-26 07:48:56 UTC
Created attachment 182678 [details]
Vazir font - versian I used
Comment 5 Hossein 2022-09-26 11:53:55 UTC
I could reproduces this bug with LO 7.4:

Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fa-IR (en_US.UTF-8); UI: en-US
Calc: threaded

The latest LO 7.5 dev master crashes while trying to create PDF from the sample ODS file (attachment 182676 [details]):

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 92166dba58980fddb234cd7069694cbbca69a8f7
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 ⁨خالد حسني⁩ 2022-09-26 15:35:39 UTC
I can’t reproduce this on master (crash aside, which I prevented temporarily locally), most likely it was fixed when bug 137528 was fixed.