Bug 155923 - UTF-8 Symbols are displayed on screen, but in print or pdf export there are only blanks
Summary: UTF-8 Symbols are displayed on screen, but in print or pdf export there are o...
Status: RESOLVED DUPLICATE of bug 121327
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-19 10:05 UTC by matthias.wichterle
Modified: 2023-06-19 15:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
(1) Writer file with UTF-8 fonts (19.32 KB, application/vnd.oasis.opendocument.text)
2023-06-19 10:10 UTC, matthias.wichterle
Details
(2) Screenshot of the UTF-8 symbols displayed on screen (110.87 KB, image/png)
2023-06-19 10:15 UTC, matthias.wichterle
Details
(3) pdf-file generated by export-to-pdf from the sample file (1) by Writer (50.19 KB, application/pdf)
2023-06-19 10:18 UTC, matthias.wichterle
Details
(4) pdf-file generated by Mousepad text editor from a plain text file with UTF-8 symbols (18.79 KB, application/pdf)
2023-06-19 10:23 UTC, matthias.wichterle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthias.wichterle 2023-06-19 10:05:33 UTC
Description:
Affected are likewise Writer, Calc, Impress and Draw.
In LibreOffice documents with UTF-8 Symbols like in the Writer sample file (1) the UTF‑8 symbols are displayed on screen (2). But:
    • when printed, on paper there are only blanks and no symbols.
    • when exported to pdf, in the pdf-document there are only blanks and no symbols (3)

Steps to Reproduce:
Insert UTF-8 symbols into any LibreOffice Document like the sample file (1), e.g. u+1f6b4, u+1f6b6, u+1f4f7, u+1f50b


Actual Results:
The UTF‑8 symbols are displayed on screen (2). But:
    • when printed, on paper there are only blanks and no symbols.
    • when exported to pdf, in the pdf-document there are only blanks and no symbols (3)

Expected Results:
The UTF-8 symbols should be printed on paper in color and they should be exported to pdf-documents. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I came across this bug on 2022-08-30. It has been present since in all versions of LibreOffice on Manjaro KDE.

My Present Operating System:
  Kernel: 6.1.31-2-MANJARO arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.5
    Distro: Manjaro Linux

My Present LibreOffice Version: 
Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 6; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
7.4.7-2
Calc: threaded

This issue is independent of the printer (Canon TS 6350). Other apps print UTF-8 symbols correctly by the same printer. For plain text files it depends upon the text editor: Mousepad prints UTF-8 symbols correctly, while Kate prints blanks. 

In Mousepad text editor, UTF-8 symbols are displayed correctly on screen and they are printed correctly. 
When exported by Mousepad text editor to pdf, the UTF-8 symbols are displayed and printed correctly in the pdf-document (4).

By the way: in a version of LibreOffice for windows (tested with a Lexmark printer) there was no such bug; UTF-8 symbols were printed correctly.

The issue was confirmed in the German Manjaro forum https://manjaro-forum.de/viewtopic.php?t=4064.
Comment 1 matthias.wichterle 2023-06-19 10:10:56 UTC
Created attachment 187985 [details]
(1) Writer file with UTF-8 fonts
Comment 2 matthias.wichterle 2023-06-19 10:15:54 UTC
Created attachment 187986 [details]
(2) Screenshot of the UTF-8 symbols displayed on screen

screenshot taken of the (1) 1_Sample_UTF8-Testfile_LibreWriter.odt
Comment 3 matthias.wichterle 2023-06-19 10:18:56 UTC
Created attachment 187987 [details]
(3) pdf-file generated by export-to-pdf from the sample file (1) by Writer

Blanks instead of colored UTF-8 symbols
Comment 4 matthias.wichterle 2023-06-19 10:23:20 UTC
Created attachment 187988 [details]
(4) pdf-file generated by Mousepad text editor from a plain text file with UTF-8 symbols

For plain text files, as to the UTF-8 symbols it depends upon the text editor: Mousepad prints UTF-8 symbols correctly, while Kate prints blanks.
Comment 5 ⁨خالد حسني⁩ 2023-06-19 11:51:27 UTC
Please upgrade to 7.5.x, the issue is fixed there.

*** This bug has been marked as a duplicate of bug 121327 ***
Comment 6 matthias.wichterle 2023-06-19 15:00:56 UTC
I installed LibreOffice Version fresh : 7.5.3.2 (X86_64) on Manjaro KDE. 
Now the issue with UTF-8 symbols is gone.

Thanks a lot.