Bug 81700 - Cells containing several font sizes are mis-rendered in Print Preview
Summary: Cells containing several font sizes are mis-rendered in Print Preview
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 05:02 UTC by Jim Avera
Modified: 2017-05-22 21:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing LO and OO rendering of the same file (print previews) (230.58 KB, image/png)
2014-07-24 05:05 UTC, Jim Avera
Details
Demo spreadsheet exhibiting the problem (25.65 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-07-24 05:05 UTC, Jim Avera
Details
4.2.6.2 rc (134.41 KB, application/pdf)
2014-07-27 01:11 UTC, Joel Madero
Details
print-preview on Windows 7 using LO 4.2.4.2 (78.05 KB, image/png)
2014-08-02 08:45 UTC, Jim Avera
Details
print-preview on Windows 7 using LO 4.2.4.2 (78.05 KB, image/png)
2014-08-02 08:49 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2014-07-24 05:02:20 UTC

    
Comment 1 Jim Avera 2014-07-24 05:05:00 UTC
Created attachment 103373 [details]
Screenshot showing LO and OO rendering of the same file (print previews)
Comment 2 Jim Avera 2014-07-24 05:05:28 UTC
Created attachment 103374 [details]
Demo spreadsheet exhibiting the problem
Comment 3 Jim Avera 2014-07-24 05:07:20 UTC
(Hmm, it seems like the original bug description got lost somehow, so here it is again)

Cells containing more than one font size can cause text to overlap cell boundaries when printing, even though they display perfectly in the normal edit window. 

I can reproduce this with LO 3.6.7.2 (the oldest I have on my machine) through 4.3.1.0.0+ master from 7/23/14

Openoffice 4.1.0 does not have the problem.

Steps to reproduce:
1. Open the attached test.ods
2. File->Print Preview (or export to PDF)

Current behavior: Text overlaps cell borders. See page 3 especially.

Expected behavior: Text should be placed at the correct position, the same as it is shown in the normal editing screen view.

I'll also attach a screen-shot showing LO4.3.1.0 and OO4.1.0 "print preview" screens side-by-side, using the same test document.
Comment 4 Joel Madero 2014-07-27 01:11:06 UTC
Hey Jim - you mind attaching a pdf of what you see. Attached is what I see with 4.2.6.2 rc
Comment 5 Joel Madero 2014-07-27 01:11:20 UTC
Created attachment 103528 [details]
4.2.6.2 rc
Comment 6 Jim Avera 2014-08-02 08:45:18 UTC
Hmm, I can't make the PDF be corrupted now -- only the "print preview" is messed up (particularly when viewing page 4).  I thought the PDFs were also corrupted, but now it appears I was wrong about (it was late and I had to leave town for a week...).   I apologize for the mis-direction!

So this is just a bug with print-preview.

I checked LO 4.2.4.2 on windows 7 and it has the same corruptions, so it isn't Linux-specific.

Please see the screenshot attached to Comment#1 and the new windows image I'll attach here.   Thanks.
Comment 7 Jim Avera 2014-08-02 08:45:57 UTC
Created attachment 103855 [details]
print-preview on Windows 7 using LO 4.2.4.2
Comment 8 Jim Avera 2014-08-02 08:49:25 UTC
Created attachment 103856 [details]
print-preview on Windows 7 using LO 4.2.4.2
Comment 9 Buovjaga 2014-11-05 12:52:39 UTC
I confirm the print preview mess.

Win 7 64-bit Version: 4.4.0.0.alpha1+
Build ID: b7d8a58ff2698ffc6e22943f64aa97c5ea253bd9
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-05_00:40:38
Comment 10 tommy27 2016-04-16 07:27:54 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2017-05-22 13:25:23 UTC Comment hidden (obsolete)
Comment 12 Jim Avera 2017-05-22 21:17:58 UTC
Print-preview looks good now in master (May 22, 2017).  RESOLVED/WORKSFORME

Version: 5.5.0.0.alpha0+
Build ID: 514fd7073cbed62a01c8cecfd72cd65e810d679d