Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26290

    Dear PD4ML,

    I’m having another problem with the font style override. Here’s an example to illustrate the problem

    <html>
    <head>
    <style>
    .root span,p {
    font-family:inherit;
    }
    </style>
    </head>
    
    <body>
    
    <div style='font-family:tahoma;'>
    <P>The Secure Application Development Business Security Standard (BSS)
    </div>
    
    </body>
    </html>

    The generated PDF will use the default font family, instead of tahoma. If I switch the p and span in the style definition, then it works.

    .root p,span {
    font-family:inherit;
    }

    This problem seems similar to the one described in thread html-css-to-pdf-rendering-issues-f3/font-size-x-large-t121.html

    Your kind assistance in resolving this issue will be much appreciated.

    Best regards,

    — jerry

Viewing 1 post (of 1 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.