Bug 147242 - There seems to be a difference in font substitution between showing in Writer vs. exporting to PDF while using Droid Arabic Kufi font.
Summary: There seems to be a difference in font substitution between showing in Writer...
Status: RESOLVED DUPLICATE of bug 121327
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.1.8.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 147241 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-07 09:56 UTC by M.A. Hassan
Modified: 2022-08-13 16:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
a sample document (12.54 KB, application/vnd.oasis.opendocument.text)
2022-02-07 09:59 UTC, M.A. Hassan
Details
A sample proof after exporting (17.26 KB, application/pdf)
2022-02-07 10:00 UTC, M.A. Hassan
Details
It basically shows the difference between LO/ Writer vs. PDF after the conversion. (146.19 KB, image/png)
2022-02-07 10:07 UTC, M.A. Hassan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M.A. Hassan 2022-02-07 09:56:45 UTC
Description:
It seems to be related to the Droid Arabic Kufi font in exporting numbers. If I replace it with Liberation Sans, all the numbers export without problem.
But while using Droid Kufi font;
If you look carefully at the numbers, you’ll notice they have a somewhat non consistent shape and colour (like some transparency has been applied). This seems to me akin to some picture embedded in the font so basically the numbers are invisible. Also I selected the text containing the numbers in the generated PDF, and copy-pasted it to Writer and Word, to inspect the formatting of the text. And while the Arabic characters had the “Droid Arabic Kufi” font, the numbers were in Lucida Sans Unicode, which hints that there happened a substitution for characters missing from the font though they were invisible.


 

Steps to Reproduce:
1. I have installed a “Droid Arabic Kufi” that I found somewhere (v.1.00 from Dec 2012) on my Fedora 34; (it should be already shipped in the distribution)
2. Now I opened Libre Office Writer and typed a random numbers using Droid Arabic Kufi.
3. I can reproduce the problem exporting (using toolbar also I tried every single exporting-option existed there), and viewing in “Evince”.
 

Actual Results:
In comparison to the same place in PDF, the numbers seems to be invisible.

Expected Results:
The number should be substituted -after the PDF conversion- in "Droid Arabic Kufi" , also it should be visible.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Also the font used in attachments is “Droid Arabic Kufi” (v.1.00 from Dec 2012)
Comment 1 M.A. Hassan 2022-02-07 09:59:13 UTC
Created attachment 178108 [details]
a sample document
Comment 2 M.A. Hassan 2022-02-07 10:00:43 UTC
Created attachment 178109 [details]
A sample proof after exporting
Comment 3 M.A. Hassan 2022-02-07 10:07:19 UTC
Created attachment 178110 [details]
It basically shows the difference between LO/ Writer vs. PDF after the conversion.
Comment 4 Julien Nabet 2022-02-07 19:55:13 UTC
*** Bug 147241 has been marked as a duplicate of this bug. ***
Comment 5 M.A. Hassan 2022-02-08 16:44:12 UTC
(In reply to Julien Nabet from comment #4)
> *** Bug 147241 has been marked as a duplicate of this bug. ***

Okay that's right, though I accidentally post two bugs due my slow internet connection.
Thank you!
Comment 6 ⁨خالد حسني⁩ 2022-08-12 17:23:56 UTC
The number in the screenshot seem to be from an Emoji font, possibly Noto Color Emoji. LibreOffice don’t currently handle color fonts in PDF export (bug 129523).

As for why an Emoji font is used for callback here, that is probably a misconfiguration on your system.
Comment 7 ⁨خالد حسني⁩ 2022-08-13 15:49:05 UTC

*** This bug has been marked as a duplicate of bug 121327 ***