Bug 125964 - Font not recognized
Summary: Font not recognized
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-17 05:48 UTC by seven
Modified: 2022-01-03 04:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample (13.09 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-06-17 05:49 UTC, seven
Details
Compare document in libreoffice and google docs (70.65 KB, image/png)
2019-06-17 15:23 UTC, seven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description seven 2019-06-17 05:48:43 UTC
Description:
Text for arabic languages not recognized font

Steps to Reproduce:
1. Ope sample document

Actual Results:
Check font not recognized

Expected Results:
Font recognized


Reproducible: Always


User Profile Reset: No



Additional Info:
Check in google docs is show correctly
Comment 1 seven 2019-06-17 05:49:07 UTC
Created attachment 152244 [details]
Sample
Comment 2 Timur 2019-06-17 08:50:12 UTC
Not correct bug report. Please explain from the beginning. 
You attached DOCX but saverd with LO? That's not acceptable, there must be source ODT. Better to include image in document than to say "Check in google docs".
Comment 3 seven 2019-06-17 15:23:24 UTC
Created attachment 152248 [details]
Compare document in libreoffice and google docs

Please see picture to see the libreoffice not set correct font and may be font size (need investigate)
Comment 4 seven 2019-06-17 15:29:19 UTC
Source document made in MS Office, and it must be show correct font. When i save as in ODT it is font Tahoma (lose origin name font)
Comment 5 QA Administrators 2019-06-18 02:48:13 UTC Comment hidden (obsolete)
Comment 6 V Stuart Foote 2019-06-18 05:31:45 UTC
Confirmed on Windows 10 Pro 64-bit en-US (1803) with
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

With sample OOXML open in Writer 6.2.4.2 and the Text box/frame held in the header.xml is selected, with text cursor focus into the text run--the Calibri font assigned in the style does not display.

It was displaying through 6.2.3.1 on same system.
Comment 7 Xisco Faulí 2019-06-27 11:33:46 UTC Comment hidden (obsolete)
Comment 8 Xisco Faulí 2019-06-27 11:34:21 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2019-06-27 11:37:26 UTC
oh wait, I need to select the textbox..

Also reproduced in 

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

and

Versión: 4.4.0.3
Id. de compilación: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Configuración regional: es_ES

I don't think this is a regression...

@V Stuart Foote, could you please doublecheck with 6.2.3.1 ?
Comment 10 V Stuart Foote 2019-06-27 16:23:48 UTC
(In reply to Xisco Faulí from comment #9)
> 
> @V Stuart Foote, could you please doublecheck with 6.2.3.1 ?

Hmmm, my mistake. I must not have been paying attention to where cursor focus was. Looking at it again (had already moved this system to 6.2.4.2, so working now in an /a parallel install of 6.2.3.1) with the text selected in the draw Frame in the document header--*there is no font identified* on this build as well--no Regression. 

The font displayed is some Windows system fallback for the Arabic script in the Draw shape text box.

Unzipping the .docx, the documents app.xml shows it had been created with "LibreOfficeDev/6.3.0.0.beta1$Windows_X86_64 LibreOffice_project/a187af327633f5f00363be5131bd21a13e0f1a7b"

Opening the header1.xml shows the object as a wordprocessingShape but with no Font assigned in line or via a style.

And, when opening the LibreOffice generated.docx into Word 2016--the Shape as held in the header as a shortcut receives Calibri (Body) font assignment--so just MS Word having different fallback.

Guess from OPs post, same happens in Google Docs.

So is this legitimately a LO export filter mishandling?
Comment 11 Stéphane Guillou (stragu) 2021-06-05 13:03:23 UTC
I think we need more information here, as to me it is unclear what the font was in MS Office, how the document was created, which version of MS Office was used.

Seven, could you please detail a step-by-step process that explains how we can reproduce this? Starting with creating the document in MS Office, which font you used, which format it is saved as, and what you expect the font field to show when you open the document in LibreOffice.

When you said "When i save as in ODT it is font Tahoma (lose origin name font)", do you mean from MS Office?

Is the file "Sample" saved from MS Office or LibreOffice?

At least I can confirm that Google Docs sees the font as Calibri.

Setting as NEEDINFO.
Comment 12 QA Administrators 2021-12-03 04:47:16 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2022-01-03 04:14:48 UTC
Dear seven,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp