On Tuesday 30 January 2007 09:16, Jeff Vannest wrote: > I am embedding fonts into a PDF document. If I use Arial I can use > the arial.ttf and arialbd.ttf files for the font triplets > Arial/normal/normal and Arial/normal/bold respectively. > > However, certain fonts only have a single TTF. For example, Arial > Unicode MS has a single file, arialuni.ttf. When I specify: > > <font metrics-url="arialuni.xml" embed-url="arialuni.ttf"> > <font-triplet name="Arial Unicode MS" style="normal" > weight="normal"/> > <font-triplet name="Arial Unicode MS" style="normal" > weight="bold"/> > </font> > > ...it properly embeds Arial Unicode MS, but I loose all font bolding > in my document. > > Is there another way to do this without loosing font bolding in Arial > Unicode MS? > Jeff,
I think you are out of luck here. FOP requires a font containing the actual bold (or italic) characters it has no capability to derive / render a bold character from a given 'plain' character. You would need to find a font which contains the bold characters you are interested in. > (I'm using FOP 0.93 embedded into a java app using version 1.4.2_03 > on Windows. I used TTFReader to create my metrics.) > > Thanks! > Jeff Manuel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]