https://bugs.documentfoundation.org/show_bug.cgi?id=95601

            Bug ID: 95601
           Summary: Headers in HTML document have wrong fonts
           Product: LibreOffice
           Version: 4.3.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 120286
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120286&action=edit
Repro HTML file with images how it looks like on my machine.

When an HTML document has a certain font family defined for the entire
document, Writer does not apply the font to the headers.

See attached file.

In the body part of the style definition of the HTML file, there is the
document-wide assignment of the font family:

font-family: Corbel, Tahoma, Verdana, Arial;

So the document should be displayed in one of the sans-serif fonts listed
there.
The attached pictures show that both MS IE 11 on Windows and Mozilla Firefox 41
on Mac OS X are displaying the file as intended.
However, Writer is using its default serif font for the headers (see picture)
while it uses the correct fonts for the normal paragraph text, for ordered and
unordered lists etc.

Instead of simply applying its default header styles, Writer should map HTML's
h1, h2, h3, ... using the proper font settings of the HTML document.

As an aside, h2 and h2 are using Liberation Serif 14 and 12 pt, respectively,
while h1 uses Thorndale 16 pt - a font that is not present on my system and
obviously being replaced by Liberation Serif for displaying purposes. It is not
clear to me where this setting comes from.

Cheers
RĂ¼diger

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to