Bug 2183904

Summary: Chinese characters rendering overlaps when no printer configured
Product: [Fedora] Fedora Reporter: Peng Wu <pwu>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: caolanm, dtardon, erack, i18n-bugs, petersen, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The LibreOffice Writer document for testing
none
The PDF file with no printer configured
none
The PDF file with some printer configured none

Description Peng Wu 2023-04-03 03:41:33 UTC
Created attachment 1955387 [details]
The LibreOffice Writer document for testing

Description of problem:

When no printer configured in Fedora Workstation, Choose "Print to File...".
The PDF file shows Chinese characters overlapping.

Version-Release number of selected component (if applicable):
libreoffice-writer-7.5.1.2-4.fc38.x86_64

How reproducible:

Open the LibreOffice Writer document without printer configured in Fedora Workstation.
Click "Print..." menu item, choose "Print to File...", then save the PDF.

Steps to Reproduce:
1. Open the LibreOffice Writer document in the attachment
2. Click "Print..." menu item, choose "Print to File...", then save the PDF.
3. Open the PDF file with evince

Actual results:
The Chinese characters overlap in the PDF file.

Expected results:
The Chinese characters should not overlap in the PDF file.

Additional info:
After configure the printer with cups-browsed.conf and start cups-browsed.service, the PDF file seems improved.

Comment 1 Peng Wu 2023-04-03 03:52:01 UTC
Created attachment 1955388 [details]
The PDF file with no printer configured

Comment 2 Peng Wu 2023-04-03 03:57:52 UTC
Created attachment 1955389 [details]
The PDF file with some printer configured

Comment 3 Caolan McNamara 2023-04-03 08:49:10 UTC
If I remove all my printers I don't reproduce yet.

Does it make any difference to run with

export SAL_DISABLE_CUPS=1

?

Comment 4 Jens Petersen 2023-04-03 10:25:06 UTC
I can reproduce in F38 Live WS (eg Fedora-Workstation-Live-x86_64-38-20230402.n.0.iso)

eg with the text: 朝昼晩夜

and then print to pdf and I see badly overlapping characters like in comment 1.

Comment 5 Peng Wu 2023-04-03 10:47:15 UTC
Yes, with SAL_DISABLE_CUPS=1, I can reproduce this issue with some printer configured.