Bug 136657 - FILEOPEN DOCX: Text frames not proper size so Bookman Old Style font inside not seen
Summary: FILEOPEN DOCX: Text frames not proper size so Bookman Old Style font inside n...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, implementationError
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2020-09-10 21:34 UTC by Henrik
Modified: 2022-09-05 14:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document containing the graphics (368.61 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-10 21:35 UTC, Henrik
Details
Screenshot of the document rendered with MS Word on Android (273.25 KB, image/jpeg)
2020-09-10 21:41 UTC, Henrik
Details
Screenshot of the document rendered with LibreOffice (152.35 KB, image/png)
2020-09-10 21:43 UTC, Henrik
Details
The example file in Word and current Writer (205.77 KB, image/png)
2020-12-04 13:23 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik 2020-09-10 21:34:01 UTC
Description:
In the attached document some of the graphics appear clipped and misaligned.

Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Henrik 2020-09-10 21:35:03 UTC
Created attachment 165381 [details]
Document containing the graphics
Comment 2 Henrik 2020-09-10 21:41:06 UTC
Created attachment 165382 [details]
Screenshot of the document rendered with MS Word on Android
Comment 3 Henrik 2020-09-10 21:43:46 UTC
Created attachment 165383 [details]
Screenshot of the document rendered with LibreOffice

Version: 6.4.5.2
Build ID: 1:6.4.5-0ubuntu0.20.04.1
CPU tråde: 4; Styresystem: Linux 5.4; Gengiver af brugergrænseflade: Standard; VCL: kf5; 
Lokalisering: en-GB (da_DK.UTF-8); Sprog for brugergrænseflade: da-DK
Calc: threaded
Comment 4 Aron Budea 2020-09-11 02:47:52 UTC
Those are actually not graphics, but characters in Bookman Old Style font (except the magnifying glass). Do you have the font installed? Otherwise you can hardly expect it to correspond to how those characters are rendered in Word.
Comment 5 Henrik 2020-09-11 15:03:47 UTC
Thanks for taking a look at it, Aron!
You're completely right. They are not graphics but text frames with text in them.
I did indeed not have the Bookman Old Style font installed when I submitted the report, but having installed the font and tried again the problem persists. 

I've therefore changed the title of the bug.

The problem is that the text frames are not correctly rendered.
Comment 6 Telesto 2020-09-11 17:41:47 UTC
Confirm
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

also with
4.4.7.2
Comment 7 Telesto 2020-09-11 17:42:43 UTC Comment hidden (no-value)
Comment 8 Timur 2020-09-15 13:37:05 UTC
implementationError sounds bad, but is not, it means that page appeared in 4.1 but frames were and remain the wrong size.
Comment 9 NISZ LibreOffice Team 2020-12-04 13:23:36 UTC
Created attachment 167830 [details]
The example file in Word and current Writer

What I see: the shapes that contain the large letters are imported mostly correctly, they are a bit wider than in Word, 0.55 cm instead of 0.41 in case of I, 0.55 cm instead of 0.45 cm in case of ! and correct 1.13 cm in case of R

But even this is not large enough to contain the letters. In Word the letters simply appear outside of their shapes, while in Writer they are inside and only as much is visible as the textbox allows.