Hello- I am using PdfContentByte to position text absolutely on a page. I have a Font object that specifies a certain base font, plus a style (Font.BOLD). The Font object refers to a TrueType font for which no separate bold version actually exists, so the BaseFont part of Font points to the .ttf file, and the Font itself holds the knowledge of "bold" and "italic".
However, I can't see a way to render this bold text onto PdfContentByte. The reason is, PdfContentByte only accepts a BaseFont as a font specification (PdfContentByte#setFontAndSize), so, the "bold" and "italic" information is lost (the text renders in a "normal" typestyle). How can I render styled TrueType fonts for which no separate .ttf file exists on a PdfContentByte? Thank you, Danny Burkes ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
