Hello!
I´m trying to create a barcode in my xsl:fo-file. I´ve downloaded a font file, free3of9.ttf which I´ve saved in the windows/font-folder. I have generated a font metrics xml-file in the fop/config-folder. In the config-folder I´ve changed the userconfig.xml to contain the following:
<font metrics-file="C:\Temp\fop-0.94\conf\Free3of9.xml" kerning="yes" embed-file="C:\WINDOWS\Fonts\free3of9.ttf">
<font-triplet name="Free 3 Of 9" style="normal" weight="normal"/>
</font>
I try to use this font in my xsl-file by writing the following lines:
<fo:table-cell>
<fo:block font-family="Free 3 Of 9">S090127</fo:block>
</fo:table-cell>
I start a command-line window and I try to run the following:
fop -c conf/userconfig.xml xml Myxml.xml -xsl Myxsl.xsl -pdf Output.pdf
I get a message that the font 'Free 3 of 9",normal,400' not found. Substituting with 'any,normal,400'.
What am I doing wrong?
Best regards/
Helena
I´m trying to create a barcode in my xsl:fo-file. I´ve downloaded a font file, free3of9.ttf which I´ve saved in the windows/font-folder. I have generated a font metrics xml-file in the fop/config-folder. In the config-folder I´ve changed the userconfig.xml to contain the following:
<font metrics-file="C:\Temp\fop-0.94\conf\Free3of9.xml" kerning="yes" embed-file="C:\WINDOWS\Fonts\free3of9.ttf">
<font-triplet name="Free 3 Of 9" style="normal" weight="normal"/>
</font>
I try to use this font in my xsl-file by writing the following lines:
<fo:table-cell>
<fo:block font-family="Free 3 Of 9">S090127</fo:block>
</fo:table-cell>
I start a command-line window and I try to run the following:
fop -c conf/userconfig.xml xml Myxml.xml -xsl Myxsl.xsl -pdf Output.pdf
I get a message that the font 'Free 3 of 9",normal,400' not found. Substituting with 'any,normal,400'.
What am I doing wrong?
Best regards/
Helena