Footer text no longer accepts font properties

Ever since I moved to latest version, the footer text is in default font from Word (Times New Roman 12 points), although the html that is used (inserthtml function) contains font Calibri with size smaller.

Persoonlijk Financieel rapport

Persoonlijk Financieel rapport : Cornelis Jacobus Wijnings en Sibel Wijnings (16-12-2010) - [PAGE]/[NUMPAGES]

replacing the font-size with any other value is without any effect.
How can I get the font to be changed preferably by html code with htmlinsert function.
Best regards,

Hi Kees,
Thanks for your request. The problem occurs because, currently, Aspose.Words does not support inheriting styles from parent elements. Currently, Aspose.Words expects that font formatting is set in element, formatting of paragraph – in

elements etc…
In your HTML font is specified in paragraph, if you specify font in span all will work as expected. Please see the following HTML sample:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <title>Persoonlijk Financieel rapport </title>
    <base href='http://localhost:7777/' />
    <div class="pagefooter" style='height: 40px;'>
        <hr />
        <p style='text-align: center;'>
            <span style='font-family: Calibri; font-size: smaller;'>
                Persoonlijk Financieel rapport: Cornelis Jacobus
                Wijnings en Sibel Wijnings(16 - 12 - 2010) - [PAGE] / [NUMPAGES]

I linked your request to the appropriate issue, you will be notified as soon as it is resolved.
Best regards,

The issues you have found earlier (filed as WORDSNET-2021) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.