Re: [iText-questions] Characters missing when using.pfm font

2010-06-23 Thread Werner Aernouts
uot; > > That empty string parameter in your createFont call is, I'll wager > (yep), the desired encoding. The default is code page 1252 > (WinAnsiEncoding, whatever you want to call it). It's a single-byte > encoding that was the default on MS OS's for years. >

[iText-questions] Characters missing when using.pfm font

2010-06-23 Thread Werner Aernouts
Dear, I am construction a font from a .pfm file as it says in the book, i.e. font_normal_10 = new Font( BaseFont.createFont("C:\\Windows\\Fonts\\Sun5.pfm","",BaseFont.EMBEDDED), 10 ); When I add text using this font to the PDF, it works fine for most (ASCII) characters, but when I have spe

[iText-questions] Using different PdfSpotColors in a single Paragraph

2010-05-20 Thread Werner Aernouts
Is it possible to use different PdfSpotColors in a single Paragraph? I cannot assign a PdfSpotColor to a font, and changing the fill color of the content byte during the construction of the different parts of the Paragraph does not seem to work. Best regards, Werner ---

[iText-questions] Using different PdfSpotColors in a single Paragraph

2010-05-20 Thread Werner Aernouts
Is it possible to use different PdfSpotColors in a single Paragraph? I cannot assign a PdfSpotColor to a font, and changing the fill color of the PdfContentByte during the construction of the different parts of the Paragraph does not seem to work. Best regards, Werner -