On Thu, 04 Dec 2003 23:40:14 -0800, John Root <[EMAIL PROTECTED]> wrote:


Try the following:

<fo:block
font-size="12pt" font-family="Arial" space-after="0cm"
text-align="justify" text-align-last="left" . . . .  >
<xsl:value-of select="body"/>

</fo:block>


Also, when i give font-family="Arial" in a fo:block, it shows

[ERROR] unknown font sans,normal,normal so defaulted font to any

Iam using Win2k and the font is there by default

Nada! Fop only uses base 14 fonts by default. To use Arial, you need to
build a font metrics file (in xml) for the font using TTFReader (part of the
Apache FOP distribution), then register the font with FOP by modifying or
setting up an FOP configuration file. See the documentation on fonts (
./build/site/fonts.html ).

and does it works cross platform? an xml fonts metrics file generated on windows will work on unix?



cheers, John

~~~~~~~~~~~~~~
John Root
Publishing Systems
[EMAIL PROTECTED]
~~~~~~~~~~~~~~


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- Stan Pinte.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to