> My problem is that I may have to deal with Type 1 fonts installed
> on other people's systems. In many cases all I'll have is the .pfm
> and .pfb in Windows\Fonts left by the MS Type 1 installer.
It would be interesting to see how iText's Pfm2afm converter
deals with your PFM files:
http://1
Jonathan Logue wrote:
> My problem is that I am using ColdFusion and I don't think it is possible to
> implement the PdfPCellEvent without using Java. I will do it in Java if I
> must, but I was hoping there might be some other way to get this to work.
It's not about PdfPCellEvent, but the follo
Tony Stevens wrote:
> It looks like the automatic .pfm to .afm conversion isn't working. Does
> this
> sound like an iText bug, or a limitation of the .pfm format?
Is the width value for the bullet available in the PFM file?
--
That's a good question :-) I haven't been able to find a spec for
Hi guys,
First, thanks for all the support you provide for this library... you have
provided a lot of material that is very helpful.
I am building a print layout engine and my immediate need is to enable
background images in PdfPCells. I understand that the way to do this is using
cell events
Is this something you plan to do often or just once?
Is there a reason you can't use Adobe Acrobat and just File->Save As
(or even Advanced->PDF Optimizer?)
Leonard
On May 23, 2008, at 6:56 AM, Oleg Parashchenko wrote:
> Hello,
>
> I have a LaTeX document which contains hundrends of PDF image
Hi folks,
my task is to highlight/mark text passages in pdf files. The
coordinates/rectangles of the lines in user space coordinates are known.
The highlighted text should be printable, thats why the HightlightFileFormat
from Adobe isn't the right thing.
In com.lowagie.text.pdf there is a met
Fernando Margueirat wrote:
> But
> if I were you I would ignore them or answer something on the line of
> "the answer to your question is available in the FAQ, please take some
> time to go through it". Or "it's answered on the book that I wrote.
> Please help me pay my bills and support futur
In all fairness I do not think we should blame creators of this library for
recommending the book.
However i do agree that sometimes it is "smarter" to just tell people to
search for answers than to call them either stupid or use negative remarks.
I have however received help numerous times and th
Hi
I agree with Mark, some of your responses are quite rude. I'm not here to
criticize anyone or give unwanted advice but I think that some feedback will
be positive.
First you have created a great tool. That's why all the people in this list
are using it. I understand that it will be better for
Good point - their replies did help and they managed to do it without
being rude or telling me to buy the book.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
1T3XT info
Sent: Friday, May 23, 2008 11:38 AM
To: Post all your questions about iText here
Su
bthorington wrote:
> /*this is the template way... */
> stamp.getOverContent((int)
> textPos[0]).addTemplate(page, textPos[1], textPos[2]);
>
> /* or you can do it by image... this lets you
> resize if you want */
> Image img = Image.getInstance(page);
> img.setAlignment(Image.ALIGN_CENTER);
>
Wagoner, Mark wrote:
>> Er... there are paid consultants answering questions on NetBeans (SUN)
> and Tomcat
>> (Apache). 1T3XT doesn't have the money to pay consultants to answer
> questions for free.
>
> Really?
Really! SUN and Apache have employees who are paid.
> Then I guess Sun and Apache
1T3XT info wrote:
> bthorington wrote:
>
>> Hello,
>>
>> I've been trying to figure out how to put HTML (converted to PDF) into
>> form fields in an existing PDF. I have been able to put images and
>> normal text.
>>
>> I can even convert the HTML into its own PDF file (using HTMLWorker.)
>
> Er... there are paid consultants answering questions on NetBeans (SUN)
and Tomcat
> (Apache). 1T3XT doesn't have the money to pay consultants to answer
questions for free.
Really? Then I guess Sun and Apache (and IBM) owe me a check. It may
be true that Sun employees answer questions on the m
Wagoner, Mark wrote:
> Uh, who's being rude? Aren't you also the one who made the comment that
> another poster's code "makes my eyes hurt"?
Yes, I am. And yes, that code did hurt the eyes, because
it proved that the poster had done no effort whatsoever
to read some documentation before starting
Ping Zhang wrote:
>
> The page that you have offered not explain the elements of the
> addTemplate(),
The page I referred to explains the elements in the transformation
matrix:
a b 0
c d 0
e f 1
The method you are using is
PdfContentByteaddTemplate(PdfTemplate template, float a, float b, float
Uh, who's being rude? Aren't you also the one who made the comment that
another poster's code "makes my eyes hurt"?
It appears this list is little more than an effort to promote the book.
Most replies seem to fall into one of 3 categories:
1. Buy the book
2. You are stupid
3. Don't bother me wit
The page that you have offered not explain the elements of the
addTemplate(), I know the last two elements are X, and Y, and first
element is the template/page, but what are the between. my application is
pdf, and it's not a image.
Ping W. Zhang
North Pointe Insurance Group
Phone (248) 358-11
As I have explained in my first message, my main issue is when Accented
Characters are found in the first line and if
columnText.setUseAscender(true), then the accent goes above the given Y
Position. I found two workarounds to fix this issue.
1st: Set columnText.setUseAscender(false). Set
paragra
Ping Zhang wrote:
>
> That is the second case, the page with the rotation of 180 degree, but
> the page display as upside down, the questions is how do I make it turn
> to -180 degree to make it rotation 180 degree, and it is not upside down.
If you are too lazy or not schooled enough to do th
Ping Zhang wrote:
>
> Thanks a lot, this not help at all!
I have given you a VERY INTERESTING pointer to p314-315 of
the book. Why don't you consult the book?
iText is free software; that doesn't mean you are entitled
to free consultancy. It's my personal opinion that it's not
our task to teach
That is the second case, the page with the rotation of 180 degree, but the
page display as upside down, the questions is how do I make it turn to
-180 degree to make it rotation 180 degree, and it is not upside down.
Thanks,
Ping
From:
1T3XT info <[EMAIL PROTECTED]>
To:
Post all your questio
Thanks a lot, this not help at all!
Ping W. Zhang
North Pointe Insurance Group
Phone (248) 358-1171 x3279
Email [EMAIL PROTECTED]
From:
1T3XT info <[EMAIL PROTECTED]>
To:
Post all your questions about iText here
Date:
05/23/2008 10:12 AM
Subject:
Re: [iText-questions] some pages are not dis
Vrishali wrote:
> I found a workaround to fix it by using the padding top on a cell. But
> padding top value would depend on the biggest font size in the first line.
> Does anyone know the way to get the biggest font size in the first line?
There's a method in PdfLine that gives you the maximum si
Oleg Parashchenko wrote:
> I'd like to optimize the PDF document by removing these preambles using
> iText. However, I don't have experience with this library and can't
> estimate if the task is realistic and how much time it will take. What is
> your opinion?
Can you produce a file with one image
Ping Zhang wrote:
> the rotation returns for page 1 = 0, and page 2 = 180 (I don't know why
> like that)
If you created the original PDF, then you should know why,
because that's the way you've defined it. If you didn't
create the original PDF, ask the person who did.
> Could you please explain
precyz wrote:
>
> I'm from Pland and i need to use Polish letter that's way I want to change
> default font in AcroFields.
> For eg.
>
> DocumentBuilderFactory dbfac =
> DocumentBuilderFactory.newInstance();
> DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
> D
Hello,
Thank you for your replay, my page 2 still display as upside down. I have
a question:
I use
Document doc = new Document(PageSize.LEGAL.rotate());
int rotation1 = reader.getPageRotation(1);
int rotation2 = reader.getPageRotation(2);
the rotation returns for page 1 = 0, and page 2 = 180 (
Thanks for the response.
Fernando
On Fri, May 23, 2008 at 3:21 AM, 1T3XT info <[EMAIL PROTECTED]> wrote:
> Fernando Margueirat wrote:
> > - Is this even possible with iText? I am currently testing it with
> > iText version 2.1.2u.
>
> If you flatten the form, you have to perform the formatting
I'm from Pland and i need to use Polish letter that's way I want to change
default font in AcroFields.
For eg.
DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
Document doc = docBuilder.parse(new
Hello,
I have a LaTeX document which contains hundrends of PDF images. After
compiling the document, I get a PDF file which is too big, ~10 Mb instead
of expected ~1Mb. Investigating the issue, I found that the images
consist of two parts: ~10Kb of the image itself and ~75Kb of the
preamble, such
Franky Laseure wrote:
>
> I'm using latest trunk version of itext.
>
> Everything compiles fine,
> but when deploying and running my (Web)project in Sun Application Server
> 9.1,
> I get NullPointerException when an instance is created of ITextRenderer.
>
> << ITextRenderer renderer = new IText
I found a workaround to fix it by using the padding top on a cell. But
padding top value would depend on the biggest font size in the first line.
Does anyone know the way to get the biggest font size in the first line?
Thank you for any help.
Vrishali
Vrishali wrote:
>
> I am using paragraphs
I'm using latest trunk version of itext.
Everything compiles fine,
but when deploying and running my (Web)project in Sun Application Server 9.1,
I get NullPointerException when an instance is created of ITextRenderer.
<< ITextRenderer renderer = new ITextRenderer();
The bug is not caught in a
[EMAIL PROTECTED] wrote:
> Hello,
>
> Yeah I managed to fixed it using cell.AddElement(list);
Thanks for the feedback. Sorry for not really answering the question.
I was unable to answer any questions yesterday and I wanted to make
sure no question is without a reply (although sometimes a questi
Hello,
Yeah I managed to fixed it using cell.AddElement(list);
This worked, I think its just a bit confusing having lots of similar
methods
E.g.:
cell.Add();
cell.Elements.Add();
Cell("");
cell.AddElement();
Well all works now, thanks very much for the reply :)
Ian Martin
Developer
IT
Kishore_Antrias wrote:
> Hi,
> I have five cells in a table where three cells have the
> contents, and two cells don’t have any contents. The problem is the
> cell which do not have contents occupy the same space as the cell
> which have the contents. In html cell width are ad
Fernando Margueirat wrote:
> - Is this even possible with iText? I am currently testing it with
> iText version 2.1.2u.
If you flatten the form, you have to perform the formatting yourself.
> - Do I need to save the form in a specific version of Adobe Acrobat
> (version 6, 7 or 8, Static vs.
[EMAIL PROTECTED] wrote:
> I am trying to add a list bulleted points from some html that are passed
> in, I can add it to the list ok but when i add the list to the cell i do
> not get the formating of the bulletpoints. I'm just wondering if this
> is at all possible.
Classes Table and Cell a
Tony Stevens wrote:
> It looks like the automatic .pfm to .afm conversion isn't working. Does this
> sound like an iText bug, or a limitation of the .pfm format?
Is the width value for the bullet available in the PFM file?
--
This answer is provided by 1T3XT BVBA
Xavier Le Vourch wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> dayvidpow wrote:
> |> The easiest way is to put your data as extra keys in the info
> dictionary. If
> |> you want it more "hidden" they can go to the catalog dictionary.
> |
> | Are there any sample / example code as to
Ping Zhang wrote:
>
> Hi Paulo,
>
> Thank you very much for the help, but I don't know how to do that 'take
> the page rotation into account'. Could you please explaining ?
Oops, I didn't see the question was already answered.
Have a look at the following snippet (x is the page number)
PdfI
Ping Zhang wrote:
>
> Hi everyone,
>
> Please help! I have a application using iText to display/fill data on
> the exisiting multiple PDF forms (one form at a time) , all forms has
> two pages, with my code as the following, some application displaying
> form right, some application first page
dayvidpow wrote:
> Is there a way to add custom properties to a PDF using iText? Basically i am
> seeking a way to set some custom properties (e.g. pageLabelsUpdated = 'Y',
> urlsUpdated = 'N' , etc) in a new PDF document. Then later I want to be
> able to retrieve/check the custom properties in
Roger Misteli wrote:
> Hi
>
> I'm trying to embed a font into a PDF that doesn't have any fonts embedded.
> The problem is.. how do I get the file name of the font?
So you have a PDF with a font that isn't embedded.
This font has a name. Now you want to retrieve the file name.
However, PDF doesn'
45 matches
Mail list logo