Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: font-size=x-large
    #27549

    Thanks for the reply and sorry about the typo.

    Here is a test case

    <html>
    <head>
    <style>
    
    .problem_style p, span {
    font-size: inherit;
    }
    
    </style>
    </head>
    
    <body>
    
    <div>
    <span style="font-size: xx-large;">
    <span style="text-decoration: underline;">
    <em><strong>456</strong></em>
    </span>
    </span>
    </div>
    
    </body>
    </html>

    Converting this to PDF will lose the font size. Through trial and error I found two tweaks can work around the problem
    1. remove the problem_stype
    2. swap the order of the two spans, i.e.

    <span style="text-decoration: underline;">
    <span style="font-size: xx-large;">

    Unfortunately, I do need the style for the page, and the content is created from a 3rd party rich text editor. Therefore I could use neither work-around.

    Do you have any suggestions how I can make this work?

    Again, thanks in advance for any tips.

    — jerry

Viewing 1 post (of 1 total)