Bug 121301 - FILEOPEN DOCX Writer unable to recognize the font when it is defined as “Times New Roman félkövér” (Times New Roman Bold)
Summary: FILEOPEN DOCX Writer unable to recognize the font when it is defined as “Time...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts DOCX-Character Fonts-Name-Combobox
  Show dependency treegraph
 
Reported: 2018-11-09 09:22 UTC by NISZ LibreOffice Team
Modified: 2023-04-23 15:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A screenshot showcasing the issue. (107.78 KB, image/png)
2018-11-09 09:23 UTC, NISZ LibreOffice Team
Details
An example file with the font mentioned (17.89 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-11-09 09:24 UTC, NISZ LibreOffice Team
Details
Screenshot in English Word 2013 (33.92 KB, image/png)
2018-11-13 21:33 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2018-11-09 09:22:32 UTC
Description:
Microsoft Word (with Hungarian language and locale settings) gives an option to define characters as bold or italic by typing in directly the expression “Arial félkövér” (Arial bold) or “Arial dőlt” (Arial italic) in the Font field. LibreOffice Writer doesn't recognize fonts defined this way and replaces them with an another, different looking font. This might affect many other languages as well.

This option is only available for some of the older fonts (Arial, Times New Roman, Courier New), but not for more modern fonts (Calibri, Cambria), so this might be a legacy option.


Steps to Reproduce:
1.	Create a new document in Microsoft Word
2.	Type in the Font field the equivalent of “Arial bold” in your native language (“Arial félkövér” for Hungarian).
3.	Writer a short text: it should appear as Arial bold text.
4.	Save the file as DOCX, and open it in LibreOffice Writer.


Actual Results:
Text is displayed with a different font.

Expected Results:
Text should be displayed as Arial bold.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2018-11-09 09:23:14 UTC
Created attachment 146478 [details]
A screenshot showcasing the issue.
Comment 2 NISZ LibreOffice Team 2018-11-09 09:24:10 UTC
Created attachment 146479 [details]
An example file with the font mentioned
Comment 3 Aron Budea 2018-11-13 21:33:08 UTC
Created attachment 146604 [details]
Screenshot in English Word 2013

This seems like something Microsoft should address, as even a different language Word version can't handle this kind of font name, either.
Comment 4 Gabor Kelemen (allotropia) 2018-11-14 08:12:16 UTC
(In reply to Aron Budea from comment #3)
> Created attachment 146604 [details]
> Screenshot in English Word 2013
> 
> This seems like something Microsoft should address, as even a different
> language Word version can't handle this kind of font name, either.

Well they kinda started: this black magic does not work with the new generation C* default fonts, or any other.

But until this pattern dies out: "It's impossible to work with LibreOffice".

So, how about recognizing these "font formattings" and silently converting them to normal font name + character formatting?
This would also help with eliminating documents created with bad user habits based on bad design ideas.
Comment 5 Aron Budea 2018-11-14 10:23:53 UTC
(In reply to Gabor Kelemen from comment #4)
> (In reply to Aron Budea from comment #3)
> > This seems like something Microsoft should address, as even a different
> > language Word version can't handle this kind of font name, either.
> 
> Well they kinda started: this black magic does not work with the new
> generation C* default fonts, or any other.
That won't make the documents show correctly in different language Word versions, though. Additionally, I could reproduce this with the mentioned C* fonts in English with my local Word 2013 installation (eg. "Cambria bold").

> So, how about recognizing these "font formattings" and silently converting
> them to normal font name + character formatting?
Do you have information on how this works with other languages? Is it always <font name> + <style in current UI language>? Can the <style> part precede <font name> in any language?
Comment 6 Dieter 2019-05-07 12:37:21 UTC
I also can reproduce this with "Arial fett" (created with Word 2016)

and

Version: 6.2.3.2 (x64)
Build-ID: aecc05fe267cc68dde00352a451aa867b3b546ac
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

So I think, since the bug is reproducible, I can set status to NEW, although there are some questions around this topic.
Comment 7 Dieter 2021-04-09 11:25:02 UTC
Still present in

Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL
Comment 8 QA Administrators 2023-04-10 03:17:57 UTC Comment hidden (spam)