Re: Font style problem
[EMAIL PROTECTED] wrote: So does it mean that I create an xml file for every required ttf font file ? Yes you must create font metrics xml files for every font you wish to use, except for the standard adobe 14 fonts. Generally this is not a problem as most documents tend to use at most 3 or 4 fonts outside of the adobe 14. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Font style problem
So does it mean that I create an xml file for every required ttf font file ? Regards Rohit Andreas L. DelmelleTo: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: ndora.beSubject: RE: Font style problem 11/30/2004 12:12 PM Please respond to fop-user -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have all the fonts available in my System . But the fop does not pick up the right font while applying. snip / Is there anything wrong in the code. No. You probably want to take a closer look at: http://xml.apache.org/fop/fonts.html HTH! Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Font style problem
Hi I have all the fonts available in my System . But the fop does not pick up the right font while applying. Here is the code I have in XSLT xsl:template match=html:[EMAIL PROTECTED]'font-family:Times'] fo:inline font-family=Times xsl:apply-templates/ /fo:inline /xsl:template xsl:template match=html:[EMAIL PROTECTED]'font-family:Arial'] fo:inline font-family=Arial xsl:apply-templates/ /fo:inline /xsl:template xsl:template match=html:[EMAIL PROTECTED]'font-family:Times'] fo:inline font-family=Times xsl:apply-templates/ /fo:inline /xsl:template xsl:template match=html:[EMAIL PROTECTED]'font-family:Courier New'] fo:inline font-family=Courier xsl:apply-templates/ /fo:inline /xsl:template xsl:template match=html:[EMAIL PROTECTED]'font-family:Serif'] fo:inline font-family=Serif xsl:apply-templates/ /fo:inline /xsl:template xsl:template match=html:[EMAIL PROTECTED]'font-family:Andale Sans'] fo:inline font-family=Andale Sans xsl:apply-templates/ /fo:inline /xsl:template The XML looks like this . . p span style=font-family:Andale SansThis line information has font in Andale Sans above it. /span /p . .. Is there anything wrong in the code. What I am doing is trying to generate PDF for an XHTML content using an XSLT. Thanks and Regards Rohit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Font style problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, I have all the fonts available in my System . But the fop does not pick up the right font while applying. snip / Is there anything wrong in the code. No. You probably want to take a closer look at: http://xml.apache.org/fop/fonts.html HTH! Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]