Bug 147811 - Specific DOC document prints to PDF virtual printer as raster
Summary: Specific DOC document prints to PDF virtual printer as raster
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/print-t...
Whiteboard:
Keywords:
Depends on:
Blocks: PDF
  Show dependency treegraph
 
Reported: 2022-03-06 18:03 UTC by Mike Kaganski
Modified: 2023-07-03 08:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Problematic DOC prints to virtual PDF printer as raster (27.50 KB, application/msword)
2022-03-06 18:03 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2022-03-06 18:03:39 UTC
Created attachment 178684 [details]
Problematic DOC prints to virtual PDF printer as raster

Attached DOC has an explicit white page background. When printing to a virtual PDF printer (tested on Windows using Microsoft Print to PDF, and Foxit PDF Editor Printer) using default profile, it outputs the text as a raster image inside the PDF.

This is fixed (test is output normally, and is selectable in the PDF) by removing the page background. Also it is somehow fixed on my system by having these two lines in registrymodifications.xcu:

<item oor:path="/org.openoffice.Office.Views/Windows/org.openoffice.Office.Views:WindowType['swriter/10336']/UserData"><prop oor:name="Data" oor:op="fuse" oor:type="xs:string"><value>V2,V,0,AL:(5,16,0/0/260/450,260;683)</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.frame.StartModule']"><prop oor:name="ooSetupFactoryWindowAttributes" oor:op="fuse"><value>625,65,1129,677;1;0,0,0,0;</value></prop></item>

The two lines look unrelated to the functionality, and I didn't try to really debug why they affect the output.

The problem is not reproducible using a brand new lorem ipsum document with manually defined white background.

Tested with Version: 7.3.1.3 (x64) / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 1 Dieter 2022-03-31 05:07:08 UTC
(In reply to Mike Kaganski from comment #0)
> When printing to a
> virtual PDF printer (tested on Windows using Microsoft Print to PDF, and
> Foxit PDF Editor Printer) using default profile, it outputs the text as a
> raster image inside the PDF.

I confirm it with

Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: zh-CN (de_DE); UI: en-GB
Calc: CL