Bug 65117 - FILEOPEN: LO reads hebrew font as Calibri in docx
Summary: FILEOPEN: LO reads hebrew font as Calibri in docx
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: (target:4.2.0)
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-29 08:22 UTC by Maxim Monastirsky
Modified: 2013-10-17 10:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
docx document (14.75 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-05-29 08:22 UTC, Maxim Monastirsky
Details
screenshot (75.01 KB, image/png)
2013-05-29 12:47 UTC, ign_christian
Details
Screenshot of the document in Word (107.77 KB, image/png)
2013-06-27 13:55 UTC, Maxim Monastirsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Monastirsky 2013-05-29 08:22:24 UTC
Created attachment 79938 [details]
docx document

Problem description: LO ignores hebrew font in docx files created with Word 2007\2010

Steps to reproduce:
1. Open Word and type some hebrew text
2. Save as docx
3. Open the file in LO Writer

Current behavior: LO wrongly sets the font to "Calibri" (which doesn't contain any hebrew letters, so it's falling back to some default font)

Expected behavior: LO should use the font that was used in Word ("David" as of the attached document)     
Operating System: Windows 7
Version: 4.0.3.3 release
Comment 1 ign_christian 2013-05-29 12:47:20 UTC
Created attachment 79959 [details]
screenshot

I can confirm that Writer recognize that font, I don't know whether it's a Hebrew font, as Calibri.

Tested on LO 4.0.3.3 (Win7 32bit)
Comment 2 Maxim Monastirsky 2013-06-27 12:49:46 UTC
Changed Platform to 'All' since this bug isn't Windows-specific (reproducible on Linux too).

Also it seems to be the same issue as bug #62559, as you can see from the screenshot that attached there (but maybe i'm wrong).
Comment 3 ign_christian 2013-06-27 13:29:36 UTC
Seems related but different, because that bug reports against wrong character used by Writer. But you reported why Writer read that font as Calibri.

Perhaps you should inform what font used in Word so its easier for developer debugging this problem. You had that font installed in your machine that using LO?

Also inform you Linux distro & LO version used in that.
Comment 4 Maxim Monastirsky 2013-06-27 13:51:13 UTC
(In reply to comment #3)
> Seems related but different, because that bug reports against wrong
> character used by Writer. But you reported why Writer read that font as
> Calibri.
>
OK, but at least the document from there can be used as an additional test-case for the current bug.

> Perhaps you should inform what font used in Word so its easier for developer
> debugging this problem. You had that font installed in your machine that
> using LO?
As I already wrote, the font is "David" which comes pre-installed with Windows. Latter I'll attach a screenshot from Word.

> Also inform you Linux distro & LO version used in that.
Ubuntu 12.10 (64-bit) LO 3.6.6.2 (from PPA)
Ubuntu 13.04 (64-bit) LO 4.0.2.2
Comment 5 Maxim Monastirsky 2013-06-27 13:55:02 UTC
Created attachment 81560 [details]
Screenshot of the document in Word
Comment 6 ign_christian 2013-06-27 13:59:26 UTC
> As I already wrote, the font is "David" which comes pre-installed with
> Windows. Latter I'll attach a screenshot from Word.
Yes, you said that. Sorry for not reading thoroughly :)

+changing version to oldest known
Comment 7 Maxim Monastirsky 2013-07-23 13:56:29 UTC
Seems to be fixed in master. Tested on Windows 7 (32-bit) with the following build:
Version: 4.2.0.0.alpha0+
Build ID: 2cce78137bbf9810421b9fdedd45127b019b1188
TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-07-18_23:43:36

Would be nice if this can be backported to 4.1
Comment 8 Kevin Suo 2013-10-17 07:50:44 UTC
When I open your attached docx document I still see it shows as Calibri. So this bug is still reproducible. I use 4.1.2.3.

May be related to Bug 64232, see my comment (comment 16) there. I believe this should be mark as duplicate, rather than WORKSFORME.

*** This bug has been marked as a duplicate of bug 64232 ***
Comment 9 Maxim Monastirsky 2013-10-17 10:42:17 UTC
(In reply to comment #8)
> When I open your attached docx document I still see it shows as Calibri. So
> this bug is still reproducible. I use 4.1.2.3.
Yes, I know that it's reproducible with 4.1, but it has been fixed in master (as you can see from 'Whiteboard' field).

> May be related to Bug 64232, see my comment (comment 16) there. I believe
> this should be mark as duplicate, rather than WORKSFORME.
No. Bug 64232 is about office 'Themes' from Office *2013*, while this bug is about formatting of Office *2010* document. And Bug 64232 is still reproducible with the latest master build. So not related at all.