- Original Message -
From: "Nandu" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 12, 2005 6:46 AM
Subject: [iText-questions] Registering Fonts
> Hi,
>
> I am using the FontFactory class to register the fonts and load them up
for use
> in the manner shown below:
> FontFactory.registe
Hi,
I am using the FontFactory class to register the fonts and load them up for use
in the manner shown below:
FontFactory.register("c:\\windows\\fonts\\comic.ttf");
OR
FontFactory.registerDirectory("c:\\windows\\fonts\\");
How should I do this on a Linux/Solaris machine? What is
Hi Paulo
Thank you so much.
Regards
Khasim Rafiuddin L
ViLink Team
' Off: 510.645.3266
' Res: 510.481.5776
* [EMAIL PROTECTED]
This is a PRIVATE message. If you are not the intended recipient, please
Dilan wrote:
If I do this, not work (empty file)
Empty file = 99% chance you forgot to close the PdfStamper.
stamper.close();
br,
Bruno
---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, disc
Mitch Freed wrote:
I have a project requiring the conversion of XHTML with CSS to Pdf. I
have looked at several different solutions and found a company doing
somthing similar using iText. I know the FAQ suggests iText is not the
way to go for such a thing, but How feasible is it to use iText t
Hello,
..
How can I get PdfStamper to work without a OutputStream?
If I do this, not work (empty file)
BufferedOutputStream baos = new BufferedOutputStream(new
ByteArrayOutputStream());
PdfStamper stamper = new PdfStamper(reader, baos);
AcroFields aform = stamper.getAcroFields();
Or
int
Hello,
In this section of cord, I'm end up getting a corrupted pdf file, un
readable one, no any other java errors or stack trace,
However, if I pass the outputstream into the method that I created, it works
well, why cant I crate a pdf with a ByteArrayOutputStream first then, set
the response.get
PdfReader pdf = new PdfReader("mypdf.pdf");
PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("outpdf.pdf"));
stp.addJavascript("app.alert(\"I'm here!\");\r");
stp.close();
- Original Message -
From: "Khasim Rafiuddin Lodge" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED
I've no idea, my guessing powers are not what they used to be...
- Original Message -
From: "Jayakumar Jeyabal" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 11, 2005 10:50 PM
Subject: [iText-questions] PDF Compress
> Hello,
>
> After writing the PDF file using JAVA the size is 3.25 M
Hi Paulo
Can you please send me a small code snippet that would be very helpful. I
am not able to find documentation on iText thats one of the reasons for
this erroneous code.
Regards
Khasim Rafiuddin L
ViLink Team
' Off: 510.645.3266
' Res: 510.481.5776
* [EMAIL PROTECTED]
---
Hello,
After writing the PDF file using JAVA the size is 3.25 MB and If I save as
the same file its 1.21MB. Is the API allow the PDF file to be saved as
1.21MB?
Thanks,
Jay
_
Dont just search. Find. Check out the new MSN Search
At 11:11 AM 10/11/2005, Mark wrote:
What I want to do it write a utility that will detect and or get the
text from a PDF that is obscured by a black piece of data.
OK. iText can't help you.
You need a library like PdfBox or Multivalent that will give
you access to the conten
Not with plain Document.Add(). You'll need to create your own layout with
ColumnText.
- Original Message -
From: "Mitch Freed" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 11, 2005 9:53 PM
Subject: [iText-questions] Last Page Margins
Is there any way to specify different margins for
Your code is all wrong, you must use PdfStamper. Pdf is not postscript you
can't put one pdf after the other and expect to have something valid.
- Original Message -
From: "Khasim Rafiuddin Lodge" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>;
Sent: Tuesday, October 11, 2005
Is there any way to
specify different margins for the last page of a document? We have certain documents that
need say a 3in. bottom margin on the last page of the document. I have been
reading through the documentation and haven't seen anything suggesting something
like this is possible.
I have a project
requiring the conversion of XHTML with CSS to Pdf. I have looked at several
different solutions and found a company doing somthing similar using iText. I
know the FAQ suggests iText is not the way to go for such a thing, but How
feasible is it to use iText to achieve such a
What I want to do it write a utility that will detect and or get the
text from a PDF that is obscured by a black piece of data. There have
been cases recently which have caused some embarrasement where people
tried to "black out" text in the hopes of the text not being read by
other people. The f
No Cell constructor takes a font, that information is carried in the
Paragraph and Phrase that you add to the Cell. By the way, use a
PdfPTable; if something goes wrong with Table you won't get any help.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Be
Title: Message
Hello
-
Using iTextSharp,
writing an ASP.NET page in VB.NET rather than C# (don't ask) to generate a
PDF from a form input.
Trying to work out
how to change the font in a table cell. (I'm making a table with 'headings' on
the left and 'values' on the right, and want the h
Hi,
I searched a
lot on net and tried other things, but unable to make any progess, please
suggest something.
\N
- Original Message -
From: Nitin Tomer
To: itext-questions@lists.sourceforge.net
Sent: Monday, October 10, 2005 4:19 PM
Subject: Adding combo-box elements p
James Scott wrote:
Bruno
Thank you for your last responce.
When creating a photoshop image. It is being created at 72 dpi. But when for
example I have an image of 500px by 150px and put this image into my PDF. It
is still appearing a great deal larger than it should. I have also tried
using th
Works for me both in full Acrobat 6 and in Reader 6. Do you have
javascript enabled in Acrobat? (I attach my test file for you to check
out)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Khasim Rafiuddin Lodge
> Sent: Monday, October 10, 2005 9
Hi Gabriel
Maybe you can use some existing fonts with musical symbols or even create
your own with fontforge (http://fontforge.sourceforge.net/) instead of
'drawing' the notes.
Here some liks which may be interesting.
http://jeff.cs.mcgill.ca/~luc/music.html
http://www.unicode.org/charts/PDF/U
Saying something works and something else doesn't work isn't sufficient
information. What I need is a StackTrace or some info on the so called
corrupt PDF. I don't need this in my personal inbox, I want to see it on
the mailing list.
This being said, a first glance at your code says me neither s
Gabriel Cristian Ditu wrote:
Indeed, I noted that line width has a float value, however something
like this (which is what I need)
cb.setLineWidth(0.25f);
still produces a line of width 1pt in the PDF document. I wonder if I
am doing something wrong?
Maybe you set the line width after yo
Indeed, I noted that line width has a float value, however something like
this (which is what I need)
cb.setLineWidth(0.25f);
still produces a line of width 1pt in the PDF document. I wonder if I am
doing something wrong?
Would it be possible for someone to post a snippet of code that prod
Dilan wrote:
Yep, I Try that, same result,
Its only working, if I carry the
OutputStream out = response.getOutputStream();
Into the method, why couldn't I able to create a pdf, then, copy the bytes
into the OutputStream ?
Normally you can write PDF to any OutputStream; it can be a
ServletOutp
Gabriel Cristian Ditu wrote:
The font that I am using does not have a staff character, nor does it
have simple note stems, so I'm trying to draw the music staff using
PdfContentByte.drawLine(), but no matter what I've tried (including
Graphics2D, etc.) the lines come out thicker than I need. I
28 matches
Mail list logo