Re: [iText-questions] HTMLWorker Alignment

2009-01-24 Thread Dominic Maricic
I've never used either but I'll definitely check them out, thanks! Dominic 1T3XT info wrote: Dominic Maricic wrote: There's no way to use another program to parse the html and the insert it into a PdfPTable right? I don't see the problem. In my applications I usually use dom4j to

[iText-questions] Padding in PdfPCell

2009-01-24 Thread Dominik Inführ
In my code I use the Methods setPaddingTop and setPaddingBottom of the Class PdfPCell to specify the space between the text to the border on the top and the border on the bottom of the cell, but that doesn't really work for me. There is more space to the top than to the bottom It seems to me

[iText-questions] Can't display ő and ű characters in PDF

2009-01-24 Thread Balázs Grill
Hi! I tried to create PDFs in hungarian language therefore it contains characters such as ő (\u0151) or ű(\u071). These characters are not displayed in the resulting PDF. I created a snippet, which tries to add such characters to the document. Am i doing it wrong? public static void

Re: [iText-questions] Can't display ő and ű characters in PDF

2009-01-24 Thread Leonard Rosenthol
Not only do you have to pick a font where those characters (glyphs) exist in teh font - BUT you also need to embed the font in the PDF so that everyone can see them... Leonard 2009/1/24 Balázs Grill balag...@gmail.com Hi! I tried to create PDFs in hungarian language therefore it contains

Re: [iText-questions] Can't display ő and ű characters in PDF

2009-01-24 Thread Balázs Grill
I've loaded the fonts using BaseFont.createFont(file.ttf,BaseFont.IDENTITY_H,true); The last parameter says that this font should be embedded in the document, isn't it? Do i need explicitly embed the fonts above this? 2009/1/24 Leonard Rosenthol leona...@pdfsages.com: Not only do you have to

[iText-questions] Merging PDF files created by Microsoft Reporting Services

2009-01-24 Thread Michael Landy
I have attached two small PDF files that are created by Microsoft Reporting Services. I am attempting to merge these files. The end result is a file that has the correct number of pages, but is blank. I have used 3 different libraries, including iTextSharp. I have used the PDFCopy routine

Re: [iText-questions] Can't display ő and ű characters in PDF

2009-01-24 Thread mister bean
The font must permit embedding for this to work. Most fonts do, but many do not. Have you checked this particular font file? ---mr. bean Balázs Grill wrote: I've loaded the fonts using BaseFont.createFont(file.ttf,BaseFont.IDENTITY_H,true); The last parameter says that this font should

Re: [iText-questions] Issue with Courier font white spaces width

2009-01-24 Thread mister bean
I believe this can happen if your alignment is set to justified. If it is, then set it to left and see whether the problem goes away. (Note: for alignment to be justified, you'd have to set it explicitly.) ---mr. bean re 1T3XT info wrote: TaRe wrote: I am creating a PDF document that