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.
Text is displayed with a different font.
Text should be displayed as Arial bold.
User Profile Reset: No
Created attachment 146478 [details]
A screenshot showcasing the issue.
Created attachment 146479 [details]
An example file with the font mentioned
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.
(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.
(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?
I also can reproduce this with "Arial fett" (created with Word 2016)
Version: 18.104.22.168 (x64)
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win;
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
So I think, since the bug is reproducible, I can set status to NEW, although there are some questions around this topic.