Hello,
I am using iText 2.1.7 jar to create PDF/A. When i try to Embedd font
Helvetica by creating BaseFont object,it returns me BaseFont object of
Helvitica but embedded flag is false.
BaseFont baseFont = BaseFont.createFont(BaseFont.HELVETICA,
BaseFont.WINANSI, BaseFont.EMBEDDED);
Here,even tho
Paulo
thank you very much, works perfectly now! Are there any side effects of this
setting since it is switched off by default? Just curious
@Mark: I actually tried a few viewers but it looks the same in all of them.
Thanks again!
Markus
Gesendet mit meinem HTC
- Reply message -
can I call a web service from an acroform...what are the capabilities of
acroforms and can they be merged with a static pdf...
thanks in advance
--- On Wed, 7/27/11, 1T3XT BVBA wrote:
From: 1T3XT BVBA
Subject: Re: [iText-questions] concatenating an XFA form with static pdf
To: "Post all your q
And it's possible that the precision issue is with your PDF viewer, not
the data given to that viewer.
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer DisCard = null;
From: Paulo Soares [mailto:psoa...
This looks like a precision problem. You can increase the precision by calling
ByteBuffer.HIGH_PRECISION = true.
Paulo
- Original Message -
From: Markus Meyer
To: iText Questions List
Sent: Wednesday, July 27, 2011 9:17 PM
Subject: [iText-questions] Inaccuracy scaling importe
Hi,
when importing pages, an inaccuracy occurs. Consider the following example:
public static void main(String[] args)
throws Exception
{
Document doc = new Document(new Rectangle(0, 0, pt(500), pt(500)));
PdfWriter writer = PdfWriter.getInstance(doc,
import java.io.File;
import java.io.FileOutputStream;
import com.itextpdf.text.BaseColor;
import com.itextpdf.text.Document;
import com.itextpdf.text.Element;
import com.itextpdf.text.PageSize;
import com.itextpdf.text.Phrase;
import com.itextpdf.text.Rectangle;
import com.itextpdf.text.pdf.Column
I am currently using pdfsmartcopy to merge documents that have annotations. Is
there a way to rotate these documents without using a writer and maintaining
annotations?
Thanks,
John
--
Got Input? Slash
I will send up a sample to illustrate, but here's the just of it.
I change page margins in the onEndPage event, so the changes will affect
the next page.
When I add my table to the document via doc.add(myTable), the new
margins are respected and my PDF looks great. What's funny is that if
use do
Thank you very much for that information!
Unfortunately I get that PDF from another application I can't change, but as
long as I know that the dimensions are a abit weird I can handle that in my
code :-)
Thanks again for your quick and valuable help!
>On 27/07/2011 17:21, 1T3XT BVBA wrote:
>> T
On 27/07/2011 17:21, 1T3XT BVBA wrote:
> The lower left corner of the page in NotWorking.pdf has coordinate
> 0,0; the upper right corner 595.3, -841.9.
> In other words: the right corner is to the left of the left corner?
> How is that possible?
Sorry: I meant to say: The upper-right corner is
On 27/07/2011 17:04, Mathias Weiser wrote:
> Attached are 2 PDF documents, both empty, for one the code is working, for
> the other not.
The lower left corner of the page in Working.pdf has coordinate 0,0; the
upper right corner 612,792.
If you add something at coordinate 400,400, it's visible.
Hi everybody,
I have a problem adding text to an existing PDF document.
The code looks like:
public class PdfTest
{
public static void main(String[] args) throws Exception
{
PdfReader reader = new PdfReader("Empty.pdf");
PdfStamper stamper = new PdfStamper(reader, new
Fil
Another issue is that there are MANY ways of getting a piece of A4 too. We come
across InDesign, Word, and printer pages that all vary slightly so when adding
stationery as a template do a bit of maths that says if either dimension is
with 3 for a4 and 2 for a5 then assume it is actually the sam
Hi Darren,
On 27 July 2011 14:09, sesshomurai wrote:
> Hi,
> I read that thread but I didn't find it informative. Given that iText
> loads a PDF
> into a structured format, is it possible to analyse the text elements of
> that PDF?
>
Your assumptions are wrong. The structure used by iText whe
Hi,
I read that thread but I didn't find it informative. Given that iText
loads a PDF
into a structured format, is it possible to analyse the text elements of
that PDF?
And if so, it should be possible to replace those structured elements
with new ones
with the appropriate visual settings?
I
On 27/07/2011 13:13, Sailesh K wrote:
> anything wrong with this approach?
You're trying something that isn't possible with iText.
A form created in Livecycle is an XFA form, not an AcroForm.
XFA forms are XML based, they don't consist of PDF objects such as field
dictionaries, field arrays,...
If
Hi,
I recently tried to merge a survey form that I created in Livecycle designer
(that makes a web service call) with a static pdf file using the itext api
concatenate code. the resulting pdf had the an error page for where the form
should have been indicating it would 'appear shortly' but never
On 27/07/2011 1:08, James Butenhoff wrote:
> Bruno (& folks),
>
> Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and
> several JVMs, I continue to generate the same problem my own code
> experiences.
Thank you for the bug report.
The problem was introduced in iText 5.1.1.
It's fix
On 27/07/2011 10:22, me_gem69 wrote:
> how do i merge pdf using itext when the pdf's i need to merge are of
> different size. one is European A4& other is US A4 and merging also leaves
> extra margin on top& left side of the page.
Please go to http://affiliate.manning.com/idevaffiliate.php?id=22
how do i merge pdf using itext when the pdf's i need to merge are of
different size. one is European A4 & other is US A4 and merging also leaves
extra margin on top & left side of the page. I am using the following code.
Please help as in the merged pdf the page difference is visible & even the
mar
Thank you very much.
That's the correct explanation.
There was a CropBox smaller than the media box.
Once set the CropBox equal to the mediabox size, for example, then
everything's ok.
Thank you again!
Massimo
-Messaggio originale-
Da: 1T3XT BVBA [mailto:i...@1t3xt.info]
Inviato: 27 Ju
Thanks for the reply, but nothing changes from the "size" point of view
if I use the GetPageSize instead of GetPageSizeWithRotation.
Still I get the A4 size and I don't know why.
Would it be useful if I attach the PDF that generates the problem?
Thanks
Massimo
Da: Mark Storer [mail
On 27/07/2011 1:08, James Butenhoff wrote:
> Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and
> several JVMs, I continue to generate the same problem my own code
> experiences
Hello,
thank you for clarifying. This is actually a bug introduced in iText 5.1.1.
We thought we had fi
24 matches
Mail list logo