6 Replies Latest reply on Jul 29, 2009 6:47 PM by Robert Morse

    p:html ignores size in p:font

    Robert Morse Apprentice

      Not sure if this is a bug or unimplemented feature.  I have a situation where a user may enter text which becomes rendered in a PDF.  To allow some formatting, I'm using something like this (attributes omitted for readability)




      <p:paragraph>
         <p:font>
            <p:html/>
         </p:font>
      </p:paragraph>











      The text in the p:html obeys the font name (e.g., helvetica, times roman, etc.) specified in the p:font tag, but ignores the font size.  I can control the font size by embedding html tags like <h4> and <h5> within the text, but this is a tacky solution.


      Also, is there a way to implement a CSS within a Seam PDF file.  I believe the Excel rendering has such a feature, but not for PDF.