Now you know: iText doesn't do Indic shapping. That's documented in the book
and most probably somewhere else also.
Paulo
- Original Message -
From: "Dileep.M" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Thursday, February 01, 2007 9:25 PM
Subject: Re: [iT
Iam Able to see the Telugu Characters but they are not comming
properly.Inthe Peace PDF also it is not comming
properly(.http://barcamp.forret.com/blog/wp-content/uploads/2006/06/peace.pdf).
Dileep.M
-
Using Tomcat but need to
If you see the Hindi text properly then you're not looking hard enough.
iText knows nothing about shapping Indic languages. You'll be able to see
the unshapped glyphs, though. ArialUnicode has the Telegu glyphs, if you
don't see them you are not using the right encoding or the right font or
som
Iam Using iText to convert my html files to PDF . I have html files in
Hindi and Telugu. Iam able to see the Hindi Text Properly. But Iam unable to
see Telugu(te-IN). in the Converted PDF.Iam using ArialUnicode font(
arialuni.ttf ) . I tried the Gautami and other Telugu fonts.But of No
result. C
It's entirely possible that your FontFactory doesn't know about your system
fonts yet. Whenever the factory is asked for a font it has never heard of, it
returns a default font (you guessed it, Helvetica).
Have a look at the Register Fonts example on the itext website:
http://itextdocs.lowagie
Hi All,
I am using Pdfcopy to concatenate 2 files, In my first file
I have written a JAVA script against the close button using
Advance-->Document Action and associated the close button with the
JAVAScript. And this javascript is always invoked whenever I closed the
PDF file, but once
AcroFields doesn't provide a high-level function for this, you'll have to go
"under the covers".
1) Get the fields AcroFields.Item:
Item fldItem = myAcroFields.getFieldItem( "FieldName" );
2) Figure out what your actual default value needs to be.
Text fields use a PdfString, everything else us
The source is your friend.
IIRC, iText uses a hash map to store the fields, so the order they're in has
nothing to do with the order in the document, the page, reading order, or
anything else. It's effectively random, though you'll get the same order every
time for a given set of entries.
As far as I know there is no existing method. If there is one you will be
able to see it in the source code.
It is possible to extend the existing code but if you read the PDF
specification on Optional Content Groups (OCG=Layers) you will see that it
is not as simple as it may seem.
Cheers
AlanK
You can use it without recompiling. Java 1.5 is a superset of 1.4.x
Ginés Collado-2 wrote:
>
> Ok.
>
> But, it's necessary to compiler the source code (1.4.2) with a 1.5 java
> environment?, or I can to use freely the published library?
>
> Ginés.
>
>>From: "Paulo Soares" <[EMAIL PROTECTED]
Hi,
Is there anyway in which I can set the Default value of the Pdf
fields using Acrofield object.
I have seen method "setfield" but does nt set the default value of the
pdf form
Thanks
Amit
-
Using Tomcat but
It didn't work for me Is there any way in which I can
retrieve the JAVA Script associated with the close button In Acrobat,
Please let me know if there is a way to do that and add using
PdfWriter.add(PdfAction)
Thanks
Amit
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTE
Paul Gatewood wrote:
> Scott McKenzie wrote:
>> Is there a way to embed bolding and italics at a word level within a text
>> field being placed in a PDF document. I know how to set the enitre piece of
>> text but I'n not sure about setting at a more
>> granular level.
>
> Can't you just do this
Scott McKenzie wrote:
> Is there a way to embed bolding and italics at a word level within a text
> field being placed in a PDF document. I know how to set the enitre piece of
> text but I'n not sure about setting at a more
> granular level.
Can't you just do this using com.lowagie.text.Chunk?
Ok.
But, it's necessary to compiler the source code (1.4.2) with a 1.5 java
environment?, or I can to use freely the published library?
Ginés.
>From: "Paulo Soares" <[EMAIL PROTECTED]>
>Reply-To: Post all your questions about iText here
>
>To: "Post all your questions about iText here"
>
>Sub
Is there a way to embed bolding and italics at a word level within a text field
being placed in a PDF document. I know how to set the enitre piece of text but
I'n not sure about setting at a more
granular level.
Thanks
Scott
---
> You'll need to freeze the state after preClose and resume it after the
> signature is received.
Unfortunatly it is impossible for me to freeze the state after preClose()
becouse the signature building is made by a process different from the one
which has generated the hash.
Could you give me a
You'll need to freeze the state after preClose and resume it after the
signature is received. One way of doing it is to keep the instance
around, the other option is to modify the iText code, not very difficult
but not trivial either.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
No problem.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ginés Collado
> Sent: Thursday, February 01, 2007 12:48 PM
> To: iText-questions@lists.sourceforge.net
> Subject: [iText-questions] Itext 1.4.2 compatibility with java 1.5
>
> H
Hi all,
I am reading an acroform document containing acrofields and am prepopulating it
with data. Since i don't know how the
acroform was created, ordered and organised (i.e. the naming of fields and
order of the fields), i am iterating through the document
and printing the field names, i get
Hello.
I want ask you if someone knows any incompatibility with itext 1.4.2 running
in a 1.5 java environment.
I have read in the itext site that itext 1.4.2 was compiled with jdk 1.4.
Do you have any experiences running itext 1.4.2 in a 1.5 java environment.
Thanks in advance.
Bye.
Hi, I'm trying to sign a pdf document using external hash and signature.
I notice that if i hash the same document (the result of the method
getRangeStream() ) twice, i obtain two different digests.
I suppose that this is becouse the pdf signature methods introduce some
randomness into the document
MAX wrote:
> BaseFont bf = BaseFont.createFont("Helvetica", "winansi",
> false, false, null, null);
> int widths[] = bf.getWidths();
> for (int k = 0; k < widths.length; ++k) {
> if (widths[k] != 0)
> widths[k] = 1000;
> }
> bf.setForceWidthsOutput(true);
Where did you find this examp
Hi, I'm trying to sign a pdf document using external hash and signature.
I notice that if i hash the same document (the result of the method
getRangeStream() ) twice, i obtain two different digests.
I suppose that this is becouse the pdf signature methods introduce some
randomness into the document
BaseFont bf = BaseFont.createFont("Helvetica", "winansi",
false, false, null, null);
int widths[] = bf.getWidths();
for (int k = 0; k < widths.length; ++k) {
if (widths[k] != 0)
widths[k] = 1000;
}
bf.setForceWidthsOutput(true);
What means 1000?
What does the value refer to?
What i
Alan Keown schrieb:
> If you look at this thread:
> [...]
> you will find this answer:
>
> Stamper doesn't do layers - yet.
There is no need for me to use Stamper, at least as far as I understood it.
I did this:
java com.lowagie.examples.objects.bookmarks.Layers
This creates a file "L
Claudio Bosticco wrote:
> Is possibile to use iText in this scenario? A collegue says it's
> possible.
Your colleague is wrong.
You can add all the text and images you want to an
existing PDF document, but what you ask is impossible:
iText doesn't know where what you call 'variable text'
(which is
Hello, I'm new to iText, I want to know if this scenario it's possible:
- The user submits a pdf file. I don't know anything about its content.
- I have to add some (variable) text at the start and at the end of the pdf.
This text I have to add will require 1/3 to 1/2 of a page, and I want
the co
[EMAIL PROTECTED] wrote:
> Hy!
>
> I've a problem: in a pdf document I write text in absolute position (with
> showTextAligned),
> but the position depend from the lenght of the previus text.
If the 'previous text' is part of an existing PDF,
and isn't marked in some way (for instance there's
a
On Thursday 01 February 2007 07:45, Bruno Lowagie wrote:
> Mark Hall wrote:
> > On Wednesday 31 January 2007 17:35, Bruno Lowagie wrote:
> >> I will have to keep Table (unfortunately) and
> >> probably HeaderFooter (but not for long).
> >
> > Are you sure that there is no way to remove Table in the
Venkat Tubati wrote:
> So please suggest me how to solve my problem.
Your question boils down to this:
"Do you have the necessary font program (a ttf, an otf,...) or not?"
Only you can answer this question.
If you don't have the necessary font program, we can't help you.
If you do, we can tell
31 matches
Mail list logo