Re: [iText-questions] problem with image mask

2009-06-06 Thread irashkin
hy it behaved like this. I did try, by the way, using direct content, but that made no difference. Thanks for trying to help. 1T3XT info wrote: > > irashkin wrote: >> iDocument.Add(xImg); > > What if you use: > writer.getDirectContent().addImage(xImg); > > Image masking

[iText-questions] problem with image mask

2009-06-03 Thread irashkin
Hi, I am actually using iTextSharp, but I'm asking here in case the problem is more universal - I'm trying to use a black and white gif as an image mask. Included here is a snippet of the code which is creating a PDF for printing based on various input. xImg below is a iTextSharp.text.Image, as

Re: [iText-questions] pseudo-italic (transform) causing horizontal offset

2008-09-17 Thread irashkin
TextAligned(), it supports PdfContentByte, and use > a Font with a Font.ITALIC style, and the slanting will be done for free. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of irashkin >&g

Re: [iText-questions] pseudo-italic (transform) causing horizontal offset

2008-09-17 Thread irashkin
I also need PDFContentByte writing because I have to have absolute positioning for every element. irashkin wrote: > > Thanks for the quick reply! I didn't think I was able to use chunks with > PDfContentByte directly. Is that true? I have to use PDFContentByte (I am > p

[iText-questions] pseudo-italic (transform) causing horizontal offset

2008-09-17 Thread irashkin
Hi, I am actually using iTextSharp, but I don't know if this problem is specific to iTextSharp or is a general problem (or misunderstanding by me) of iText. I am working with some embedded fonts that don't have italic options. So, to get around this, I am doing a skew transformation, and the ital