Just for those technically interested how this effect would be done in PDF, here's an example:
stream 1 g /GS1 gs 90 632.12 415.2 137.88 re f BT /TT2 1 Tf 36 0 0 36 90 735.9203 Tm 0 g 0 Tc -0.0001 Tw (Dies ist ein Test!)Tj 2 Tr 0 G 0 J 0 j 0.72 w 1 M []0 d 0 -1.2767 TD 0.0016 Tc 0 Tw (Dies ist ein Test!)Tj 0 Tr T* 0 Tc -0.0001 Tw (Dies ist ein Test!)Tj ET endstream I think the key value here is the use of "2 Tr" which gives each glyph a border of a certain width which makes the font appear "bold". So if anyone wants to implement something like that, here's the template. :-) But something like that is really only for the desperate since the results are just ugly. I'd always prefer to find a better font first. On 30.01.2007 17:32:40 Chris Bowditch wrote: > Jeff Vannest wrote: > > > > > -----Original Message----- > > From: Manuel Mall [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 29, 2007 8:01 PM > > To: [email protected] > > Subject: Re: Embedding font triplets w/ a single TTF file > > > >>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 understand the response, and that's the way it looked to me, too. > > > > Question: Why is this possible in Adobe PDF, Word, etc, but not in FOP, > > which follows the PDF spec? ...not a criticism...just wondering where the > > "catch" is. > > Well Word emulates the bold effect if no bold version of a Font is > available by printing the glyph on top of itself a few times (each time > having a slight offset from the last position) The XSL-FO spec doesn't > require such a feature. I guess it would be a useful feature if FOP did > this too, but I don't think the purists will like it. > > Chris Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
