Leonard Rosenthol wrote:
It might, if the code used to generate the PDF wasn't very good...(eg.
not iText, but improper use of)
Consider improper reuse of common objects - like reloading the same
image over and over again. Or the same font, once per page...
That was also what I was
Tony Stevens wrote:
This gives me all the ammunition I need - thanks!
That was the main reason for the changes I made.
I talked with a vendor of a commercial PDF solution lately.
His product wasn't as feature rich as iText, but he had
a fancy 'feature' list.
As Paulo says: there's very little
FlyingBuzz wrote:
Smaller files saves more space and faster to email to customer. So wonder
do i have to change compression and how?
More importantly, smaller files can make your document images more blurry!
--
View this message in context:
Is there a way to make itext output the data into like a buffer stream and
when it finish it loads the buffer stream and compress it than and make a
output stream of the compressed pdf?
1T3XT info wrote:
FlyingBuzz wrote:
how come itext pdf are a lot better than if i resave them in adobe?
FlyingBuzz wrote:
Is there a way to make itext output the data into like a buffer stream and
iText can write PDF syntax to any OutputStream;
for instance to a ByteArrayOutputStream.
when it finish it loads the buffer stream and compress it than and make a
output stream of the compressed pdf?
I will be out of the office starting 07/07/2008 and will not return until
07/08/2008.
will be back :)
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite
Hi,
I am generating PDF from html content. for this i have used HTMLWorker.
The code is like this
ArrayList list=HTMLWorker.parseToList(new
StringReader(sb.toString()),style);
for(int i=0;ilist.size();i++)
{
document.add((Element)list.get(i));
}
where document is object of
Sumedha Aranke wrote:
Hi,
I am generating PDF from html content. for this i have used HTMLWorker.
The code is like this
ArrayList list=HTMLWorker.parseToList(new
StringReader(sb.toString()),style);
for(int i=0;ilist.size();i++)
{
document.add((Element)list.get(i));
}
Hi,
Thanx for the response.
My complete code is :
String filename= myfile.pdf;
Document document = new Document();
PdfWriter.getInstance(document, new
FileOutputStream(getPageContext().getServletContext().getRealPath() +
File.separator + pdf + File.separator + filename));
Hi,
Again sending my code.
Regards
Sumedha Aranke
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
1T3XT info
Sent: Monday, July 07, 2008 2:01 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] lot of space in pdf when
You need to make a small change in your code:
Sumedha Aranke wrote:
for(int i=0;ilist.size();i++)
{
document.add((Element)list.get(i));
}
should be replaced with:
Element e;
for(int i=0;ilist.size();i++) {
e = (Element)list.get(i);
if (e instanceof PdfPTable) {
well i dont think there was any lost in quality becuase i not doing the
reduce file size
i am just using save as. for adobe to just resave it
bisoa wrote:
FlyingBuzz wrote:
Smaller files saves more space and faster to email to customer. So wonder
do i have to change compression and
Anyone has any input on this matter ?
Regards.
KrazySmile wrote:
Krazy is just fine, and thanks for the reply.
ok, its a good practice.
but, assuming the person opening the pdf does not have an active internet
connection, the signature will appear as validity unknown.
if i let reader
The problem is still there.
Regards
Sumedha Aranke
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
1T3XT info
Sent: Monday, July 07, 2008 3:08 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] lot of space in pdf when
The pdf u provided is accurate, but my when I did the same change in my
code, I m not getting the proper pdf. After the first line of comment
there is space in the remaining page and from next page the next lines
of comment starts.
Well m checking again my code with your changes.
Thanx for the
Sumedha Aranke wrote:
Well m checking again my code with your changes.
At least now you know that the problem can be solved.
The only question is: how?
I've provided the answer, but now it's up to you
to implement it. (First thing to check: which version
of iText are you using?)
--
This answer
Yep.
I will check my code .
Sorry for ne harsh word, used unintentionally.
Regards
Sumedha Aranke
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
1T3XT info
Sent: Monday, July 07, 2008 3:53 PM
To: Post all your questions about iText here
Subject:
HelloI'm trying to get the links from a pdf and then add a MouseUp
javascript event only for some of them...
I tried the GetLinks method of PdfReader that returns an ArrayList.
HoweverI can't find the url of the link inside the links returned. Is
there a specific property I have to
Folks any help with this would be great (its rather urgent) thanks!:
Perhaps I dont understand this correctly but I am trying to put some
text and a button on each page of a document.
Here is a naive implementation but it only prints a button on the first page:
Document document =
An excerpt from the iText FAQs...
The use of the word URGENT in a question is not done. You are
(hopefully) paid to do your job, so it's your responsibility. We are
not paid to do your job, we are NOT responsible.
Regards,
Howard Shank
- Original Message
From: Athar Shiraz Siddiqui
Hi,
I'm using iText for automatic generation of some reports, that works great!
My Problem is, that the reports contains some status-bars in green/red. When
a report is printed on a black white printer, you can't differ which part
of the status-bar is green and which is red. My solution at this
[EMAIL PROTECTED] wrote:
Hi,
I'm using iText for automatic generation of some reports, that works great!
My Problem is, that the reports contains some status-bars in green/red. When
a report is printed on a black white printer, you can't differ which part
of the status-bar is green and
Sorry for putting urgent in the subject... I was just trying to
attract someone's attention. Here is the question without the urgen in
it ...
Perhaps I dont understand this correctly but I am trying to put some
text and a button on each page of a document.
Here is a naive implementation but it
Document document = new Document(PageSize.LEGAL);
PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream(testfiles\\HelloWorldButtonTest.pdf));
document.open();
PushbuttonField bt = new
PushbuttonField(writer, new Rectangle(20,
I'd suspect this is technically a bug in PdfGraphics2D... not scaling the
italicizing matrix. It's possible that the transform from the font isn't
setting it's skew flag (a bug in AWT), so AffineTransform's optimizations
skip it, causing this behavior.
BACK IN THE REAL WORLD, I'd strongly
There are many people who respond to questions when properly presented on the
mailing list. Trying to attract someones attention usually isn't necessary.
Well formed questions that show some research on the part of the requester will
result in many more responses than an Urgent or poorly
Well how can i use pdfsmartcopy?
I don't want to copy the page but I do have some images that get used over
again. I made the header into a global function so it generates only once
now but for other parts the information might be different but the image
might be the same. So can i use
I just tried using a hash of the image but all has are turning out different.
So i am using tables with same filename and storing old images into the
table for future image matchs.
It reduce the file to the same amount of the save as version.
So I guess it was just because of same images on
well now that i check to make sure same images are not repeated. The file
size became smaller and the save as file size is about the same.
However if I use pdf optimizer and just do the clean up checked where it
does not change image and stuff. The file size becames smaller
From
1.88 MB
-- Original message --
From: FlyingBuzz [EMAIL PROTECTED]
well now that i check to make sure same images are not repeated. The file
size became smaller and the save as file size is about the same.
However if I use pdf optimizer and just do the clean up
Hi, simulation works fine if you use a plain ttf font source (registering AWT
font and PDF font) without any styles and want to display it bold or italic.
But can it work the other way around? Having a bold italic or bold or just
italic font and displaying it normally (not bold or italic). I
Hello everyone,
I have added basic support to RTF generation to support PdfPTables. You can
test this functionality by obtaining the latest source code from the
SourceForge repository.
If you use this new functionality and have a specific instance where it does
not function as expected,
32 matches
Mail list logo