Download it now!
Bug 102914 - Synthetic italic in fonts with partial coverage exported as regular in PDF
Summary: Synthetic italic in fonts with partial coverage exported as regular in PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: filter:pdf
Depends on:
Blocks: RTL-CTL Font-Substitution PDF-Export
  Show dependency treegraph
Reported: 2016-10-01 17:46 UTC by yousifjkadom
Modified: 2020-08-24 14:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

docx-italic-Arabic (4.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-10-01 17:46 UTC, yousifjkadom
PDF-italic-Arabic (24.19 KB, application/pdf)
2016-10-01 17:48 UTC, yousifjkadom
NewExample.docx (4.25 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-02-02 10:11 UTC, yousifjkadom
NewExample.pdf (40.90 KB, application/pdf)
2017-02-02 10:12 UTC, yousifjkadom

Note You need to log in before you can comment on or make changes to this bug.
Description yousifjkadom 2016-10-01 17:46:03 UTC
Created attachment 127767 [details]

Hi. I detect a bug in LibreOffice version on Fedora 24 X64.

When I write a document by LibreOffice containing Arabic characters in ITALIC (sloping) font, then the resulted PDF that generated by "Export to PDF" option in LibreOffice will show contents as if it was no any italic fonts contents !! I mean that exporter does not recognize italic for Arabic contents.

I attached 2 files:

- docx file (docx-italic-Arabic) which has contents in Arabic & ALL being in italic font.
- PDF resulted from exportation of docx. file to PDF. Look how contents appear in PDF in non-italic font.

Please notice the following:

1) This issue does not effect Latin characters. I already test English with italic font & every thing is normal.

2) I do not know if this bug existing in version 5.2.2 of LibreOffice because it is still not available in Fedora repositories.

3) I can not test this issue on Windows because "italic Arabic" already have a bug on Windows BUT NOT ON LINUX. Please see bug 87532

4) Again bug 87532 only effect Windows NOT LINUX.
Comment 1 yousifjkadom 2016-10-01 17:48:43 UTC
Created attachment 127768 [details]
Comment 2 yousifjkadom 2016-10-03 10:03:20 UTC Comment hidden (no-value)
Comment 3 Yousuf Philips (jay) (retired) 2016-10-06 02:18:50 UTC
So this issue only happens with text that uses the substitution/fallback arabic font for rendering, but doesnt happen with actual arabic fonts like Droid Arabic Naskh, mry_KacstQurn, and KacstQurn.

Build ID: f309531cfe1d6a1b6ea1306d45ed3e121145bc5f
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-10-04_03:52:18
Locale: en-US (en_US.UTF-8); Calc: group
Comment 4 yousifjkadom 2017-02-02 10:10:50 UTC
Hi. I test it on Windows 7 SP1 X64 OS with version 5.3.0 fresh release LibreOffice.

Open attachment "NewExample.docx" it contain from above to down (all with italic):
- Arial
-Time new Roman
- Arabic transperant
- Simplified Arabic
- Traditional Arabic

Now open attachment "NewExample.pdf" Look that both arial & time new Roman still effected by this bug while other Arabic fonts Not affected by it.

Please your kind fix !
Comment 5 yousifjkadom 2017-02-02 10:11:31 UTC
Created attachment 130838 [details]
Comment 6 yousifjkadom 2017-02-02 10:12:17 UTC
Created attachment 130839 [details]
Comment 7 QA Administrators 2018-11-05 03:44:25 UTC Comment hidden (obsolete)
Comment 8 yousifjkadom 2018-11-09 04:17:53 UTC
Hi. I test this issue on LO version (fresh version) as AppImage downloaded from LO official site.

Bug still existing without any improvement & whether document is docx. or odt.

Output PDF still "ignore" italic format.
Comment 9 Khaled Hosny 2018-11-09 11:16:43 UTC
This only happens with a handful of Microsoft fonts (and possibly similar fonts) that has an italic fonts with partial character coverage compared to the Latin, specifically the italic styles of these fonts do not support Arabic and LibreOffice is failing to synthesize italic for thee unsupported characters when exporting to PDF.
Comment 10 yousifjkadom 2018-11-13 22:29:20 UTC
@Khaled Hosny

Do you mean that it is impossible to fix this bug ?
Comment 11 Khaled Hosny 2018-11-15 00:22:24 UTC
(In reply to yousifjkadom from comment #10)
> @Khaled Hosny
> Do you mean that it is impossible to fix this bug ?

No, it was just a clarification, since the bug description was too general than the actual issue. Font that has italic Arabic work, and fonts that has no italic at all also work. Hopefully this will help someone in finding the root of the issue.
Comment 12 QA Administrators 2019-11-16 03:40:52 UTC Comment hidden (obsolete)
Comment 13 yousifjkadom 2020-08-24 14:01:08 UTC
I tested this bug on Libre Office version from FlatHub & still existing without any improvement.