HiI am trying to use font Times New Roman when creating a PDF file, and i am
getting font not found error.
How can i get this font in PDF file, also how can i find out which fonts are
supported in creating PDF file, it seems serif is the font which works for
me

The code i am trying is as below
//This is a stylesheet
<xsl:attribute-set name="table.data.caption" >
   <xsl:attribute name="border-style">solid</xsl:attribute>
  <xsl:attribute name="font-family">Times</xsl:attribute>
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="font-size">10pt</xsl:attribute>
</xsl:attribute-set>
// This in actual XSL file.

<fo:table-cell column-number="8" text-align="center"
xsl:use-attribute-sets="table.data.caption">
<fo:block>Unit Price</fo:block>
</fo:table-cell>

Reply via email to