Hi Sabine, (A small complement to Pascal's answers:)
<snip/> >>>>> 2. After generating the Bodoni xml file. I edited the fop.xconf as >>>>> follow: >>>>> <renderer mime="application/pdf"> >>>>> .. >>>>> <font metrics-url="file:D:/workspace/pdftech/config/bbi.xml" >>>>> kerning="yes" >>>>> embed-url="file:D:/workspace/pdftech/fonts/bbi_____.pfm"> >>>>> <font-triplet name="'Bauer Bodoni'" style="normal" >>>>> weight="normal"/> >>>>> <font-triplet name="'Bauer Bodoni'" style="normal" >>>>> weight="normal"/> >>>>> </font> >>>>> .. >>>>> </renderer> >>>>> According to that the code in my foTemplate.xsl: >>>>> >>>>> <cid:[email protected]><fo:block-container >>>>> absolute-position="absolute" >>>>> top="50mm" left="158mm" font-family="'Bauer >>>>> Bodoni'" font-style="normal" >>>>> color="#ffffff" background-color="#000000" >>>>> font-size="33pt"> >>>>> >>>>> >>>>> But I always get this Warning: Font 'Bauer >>>>> Bodoni,normal,400' not found. Substituting with 'any,normal,400'. Although you avoid problems by removing whitespaces from font names, that should work if you remove the quotes in the config file: <font-triplet name="Bauer Bodoni" style="normal" weight="normal"/> /But/ leave them in the fo file, otherwise Fop will think you're specifying several font families as fallbacks. >>> But the second is unshaken.Using "file:///D:/.." doesn't work either. >>> To use an absolute path isn't even my favorite intention. Not sure, but specifying a drive letter in the url makes it absolute, doesn't it? If you set the <font-base> element appropriately, specifying the URL just like that: "path/to/my/font.pfb" should work. HTH, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
