On Fri, 18 Nov 2005 09:40 am, The Web Maestro wrote: > On Nov 17, 2005, at 5:22 PM, Manuel Mall wrote > > > I just did my own test and the results are intriguing (using the > > latest version of FOP). There is certainly a big difference between > > Word and FOP. > > > > It appears that FOP ignores the font-weight="bold". That is the > > text is rendered identically for font-weight="bold" and > > font-weight="normal". > > This may be due to a lack of a font-triplet for BOLD, although you're > using Arial (aren't you?) so IMO it should Just Work(tm) > You were correct - my font registration was missing the bold triplet.
But adding this didn't fix the problem. Still can't get bold output. Have to run and will investigate further later today. BTW, our XML Renderer doesn't register user fonts which makes it hard to check the area tree. I have fixed it in my copy of FOP and may commit that later. Moved this thread to fop-dev as well. > > Secondly it appears to be rendered in nearly the same size as Word > > renders at font size 14. > > > > This is when the font is embedded into the PDF. > > This may be the problem. It may not be embedding the 'bold' version > of the font for some reason. > > > Converting my FO example to HTML/CSS both IE and FireFox render it > > identically and consistent with Word. > > > > This seems to need some further investigation... > > Regards, > > Web Maestro Clay Manuel