Re: [iText-questions] JPEG Quality

2004-12-30 Thread Paulo Soares
Jpegs are always put as they are. There's no conversion. - Original Message - From: "Youssef Eldakar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 30, 2004 6:43 PM Subject: [iText-questions] JPEG Quality > I am adding .jpg images to a PDF using: > > Image.getIns

[iText-questions] Re: Bug found in iTextDOTNet

2004-12-30 Thread Ross Presser
On Thu, 30 Dec 2004 12:06:43 +0100, Leurs, Maarten (NL - Amstelveen) wrote: > Hi, > > First of all I want to tell you that I like iTextDOTNet very much, it is a > very usefull program. > I've just updated my version to your latest iTextDOTNet version 1.1.2-1. > After reading some documentation

[iText-questions] unicode char for unknown glyph

2004-12-30 Thread David Thielen
Hi; Is there a unicode character that will cause a font to print it's "unknown" character? Thanks - dave --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGee

RE: [iText-questions] inverse of BaseFont.convertToBytes()?

2004-12-30 Thread David Thielen
Hi; I can do that for an encoding like Cp1250. But I can't find anyway to do that for a font like Symbol. ??? - thanks - dave -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 3:58 AM To: David Thielen; itext Subject: RE: [iText-question

RE: [iText-questions] RE: glyph/font mapping

2004-12-30 Thread David Thielen
I thought Arial has every unicode glyph except for the proposed Klingon? For the rest, thank you for that answer - that makes sense. Thanks - dave -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 10:10 AM To: David Thielen; 'itext'

[iText-questions] JPEG Quality

2004-12-30 Thread Youssef Eldakar
I am adding .jpg images to a PDF using: Image.getInstance(String) How do I get iText to write the images to the PDF using a specific JPEG quality factor? Also, is there a way to dump the JPEG data as-is into the PDF without decoding and re-encoding and thus losing quality? Youssef Eldakar B

RE: [iText-questions] form field question

2004-12-30 Thread Paulo Soares
The workflow you have won't work with form fields. The xml support in iText knows nothing about them. As a side note, PdfReader and PdfEncryptor have nothing to do with xml. > -Original Message- > From: Jyothish S [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 30, 2004 5:18 PM > T

RE: [iText-questions] form field question

2004-12-30 Thread Jyothish S
Thanks Paulo, Hi, This is the excerpt of the xml that we prepare manually based on some documents. In this xml, there are certain tags like $!tad.customer.signedBy.firstName $!tad.customer.signedBy.lastName These are place holders to get the value populated from certain templates, using velocity

Re: [iText-questions] RE: glyph/font mapping

2004-12-30 Thread Leonard Rosenthol
At 08:43 AM 12/30/2004, David Thielen wrote: With the caveat that Paulo has probably forgotten more about fonts than I know - \ I'm not Paulo, nor do I play him on TV - but I'll take a shot at this one ;). isn't it the case for a font like Arial that each unicode character maps to a glyp

[iText-questions] RE: glyph/font mapping

2004-12-30 Thread David Thielen
Hi; With the caveat that Paulo has probably forgotten more about fonts than I know - isn't it the case for a font like Arial that each unicode character maps to a glyph of that character in the font? Ie a "q" prints as a 'q'. But for fonts like symbol and wingdings, a "q" prints as some weird sym

RE: [iText-questions] form field question

2004-12-30 Thread Paulo Soares
Look at the example text_fields.java in the same zip. If you describe precisely what you want we may be able to help you more. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jyothish S > Sent: Thursday, December 30, 2004 4:04 PM > To: itext-que

[iText-questions] form field question

2004-12-30 Thread Jyothish S
Hi, I am new to itext and is asked to maintain a project. Here, the itext xml is created manually and is converted into pdf , using pdfReader and PdfEncryptor. Now, I need to add a few form fields while creating the itext. I looked at the examples in this website, from the zip file ( like form_tex

RE: [iText-questions] why is PdfGraphics2D using cb.showText(s) instead of cb.showTextKerned(s) ?

2004-12-30 Thread Paulo Soares
It's a design option. The pdf and the awt spacing will not match in any case. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bodo teichmann > Sent: Thursday, December 30, 2004 1:23 PM > To: itext-questions@lists.sourceforge.net > Subject: [iTex

RE: [iText-questions] Re: type1 font and unicode

2004-12-30 Thread Paulo Soares
This talk is about PDF or Graphics2D? PdfGraphics2D has no setBaseFont() method. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bodo teichmann > Sent: Thursday, December 30, 2004 12:07 PM > To: itext-questions@lists.sourceforge.net > Subject: [i

Re: [iText-questions] using iText to create HTML fragment, not complete document

2004-12-30 Thread Bruno
Quoting Eric Williams <[EMAIL PROTECTED]>: > 1. frames (or iframes) > 2. EMBED, with type="text/html" > 3. filter out everything before and after , inclusive > 4. modify HtmlWriter to skip the printing of everything before and > after , inclusive My choice would be a fifth option: subclass Html

[iText-questions] why is PdfGraphics2D using cb.showText(s) instead of cb.showTextKerned(s) ?

2004-12-30 Thread bodo teichmann
just wondering ,why PdfGraphics2D seems to ignore the font's kerning ? and why does it use FontMetrics fm = getFontMetrics(); double width = fm.stringWidth(s); instead of this: double mywidth = baseFont.getWidthPointKerned(s,fontSize); or double mywidth = baseFont.getWidthPoint(s,fontSize);

[iText-questions] Re: type1 font and unicode

2004-12-30 Thread bodo teichmann
i just testet BaseFont.MACROMAN and compared the effect on german umlauts between: this: PdfGraphics2D g2; ... BaseFont mybasefont = BaseFont.createFont(fontDir + "/" + fontName+".ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); myfont = new com.lowagie.text.Font(mybasefont, 12f); g2.

[iText-questions] using iText to create HTML fragment, not complete document

2004-12-30 Thread Eric Williams
I'd like to use iText to create something less than a complete HTML document.. ie, an HTML fragment that can be inserted into an enclosing HTML document. I have looked at the 1.1 codebase, and this functionality is not present. My overall goal is to use iText to create reports that can be

RE: [iText-questions] TIFF Images Using JPEG Compression

2004-12-30 Thread Paulo Soares
No and for good reasons. See http://www.faqs.org/faqs/jpeg-faq/part1/ and look for item "Subject: [14] Why all the argument about file formats?". > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Youssef Eldakar > Sent: Thursday, December 30, 20

[iText-questions] TIFF Images Using JPEG Compression

2004-12-30 Thread Youssef Eldakar
Is iText able to handle TIFF images that use the JPEG compression scheme? Youssef Eldakar Bibliotheca Alexandrina N’×zf¢–+,¦‰ìo ^jÛazš,¶%‰Ön[ž°g­hTDX¦Š×yØŠ‰ÒêÜxZ+éÞÛ!Š»_®‰“†)äç¤"Ûºv§tTD¥•©f¢Ëa¶Úÿ 0¶§’ž‘Ê&þÇì†*í‰7±¶«ž²ØžÉŠX§‚X¬¶$ÞÆÚzËb¢{%ŠËl²‹«qçè®§zØm¶›?þX¬¶Ë(º·~Šàzw­þX¬¶ÏåŠËb

[iText-questions] RTF - Cell.setMaxLines

2004-12-30 Thread tmargenstern
Hi I need to limit a cell at 2 lines and display "..." as truncature chars for a RTF document. Cell class has two methods to do this (setMaxLines and setShowTruncation). It doesn't work for RTF (RtfWriter or RtfWriter2) (may be not supported in RTF spec). Is there a way to calculate the length of

[iText-questions] Bug found in iTextDOTNet

2004-12-30 Thread Leurs, Maarten (NL - Amstelveen)
Title: Bug found in iTextDOTNet Hi, First of all I want to tell you that I like iTextDOTNet very much, it is a very usefull program. I've just updated my version to your latest iTextDOTNet version 1.1.2-1. After reading some documentation I saw that the RTFWriter I use to create RTF docum