t(i++);
PdfDictionary refs = filespec.getAsDict(PdfName.DESC);
What am i missing?
Thanks
Max
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, Ope
unsubscribe
--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity
ppy to furnish test data or code if that's helpful.
Thanks so much in advance.
Max Roland Ekstrom
Harvard Grants Management (GMAS)
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplifi
orm.setXfa(xfaForm, stamper.getReader(), stamper.getWriter());
...
Any further ideas would be much appreciated--please refer to my original
post for the attachments, including standalone test program and test
data.
Cheers.
-maX
> -Original Message-
> From: Leonard Rosenthol [mailto:
does not read THIS_IS_NEW. Is there some additional step I must
take to "sync" the XFA with the form's appearance to the enduser?
Any help is much appreciated.
-
Max Roland Ekstrom
Senior Software Engi
Hi-
Still can't resolve this problem. I'm building PDFs on JBoss 4.2.2 under Linux
(Suse 10.2).
When I try to laod the arial.ttf (found in web-inf) I get the following error:
There seems to be a problem with a missing resource. Right now I can only use
the built-in fonts (Times Roman etc.)
I'm
t 1.4.7, itext 2.0.6.
I've tried one other ttf. No luck.
thanks
Max-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/v
ear/cps.war/WEB-INF/arial.ttf
when I execute the following code:
String ff = file.getFile();
try {
baseFont = BaseFont.createFont(
ff, BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
} catch (DocumentException e) {
etc.
I thoguht arial.ttf could be embedded.
Not so?
I'm using it
->
Type1Font(String afmFile, String enc, boolean emb, byte ttfAfm[], byte pfb[])
throws DocumentException, IOException ...
if (BuiltinFonts14.containsKey(afmFile)) {
embedded = false;
...
Is this correct? How is the correc
I have an image (size 202 KB) which I would like to load!
File file = new File("logo.jpg");
FileInputStream is = new FileInputStream(file);
BufferedImage bi = ImageIO.read(is);
com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null);
load time: more than 1.5 sec.
Why does that
I have an image (size 202 KB) which I would like to load!
File file = new File("logo.jpg");
FileInputStream is = new FileInputStream(file);
BufferedImage bi = ImageIO.read(is);
com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null);
load time: more than 1.5 sec.
Why does that
I have an image (size 202 KB) which I would like to load!
File file = new File("logo.jpg");
FileInputStream is = new FileInputStream(file);
BufferedImage bi = ImageIO.read(is);
com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null);
load time: more than 1.5 sec.
Why does that
I have an image (size 202 KB) which I would like to load!
File file = new File("logo.jpg");
FileInputStream is = new FileInputStream(file);
BufferedImage bi = ImageIO.read(is);
com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null);
load time: more than 1.5 sec.
Why does that
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
ut.println("Exception: " + iOE);
}
Regards
Max
- Original Message -
From: "Eric Chow" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 23, 2006 11:54 AM
Subject: [iText-questions] add a image at right bottom in the last page
> Hello,
>
> How can
Hi Paulo,
I just solved the problem this morning in this way:
Before:
BaseFont ocr =
BaseFont.createFont("C:\\usr\\max\\Java\\netBeans\\OCR\\font\\OCRAEXT.TTF",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
After:
FontFactory.register("C:\\usr\\max\\Java\\netBeans\\OCR\\fo
FileOutputStream("truetype.pdf"));
document.open();
BaseFont bfComic =
BaseFont.createFont("C:\\usr\\max\\Java\\netBeans\\OCR\\font\\OCRAEXT.TTF",
BaseFont.IDENTITY_H,
BaseFont.EMBEDDED);
Font font = new Font(bfComic,
12);
String text1 =
&q
nstance("mypic.gif")
im.scalePercent(100, 100);
/* or im.scaleAbsolute(actualWidth, actualHeight) */
cell.add(im);
Thank's
P.S. maybe someone knows about PDFUnit to check if my pdf is what i
want to get ot not ?
--
Best re
I have an HTML table that I wish to convert to PDF. It has between 8 and
13 columns. When I convert using:
// step 2:
// we create a writer that listens to the document
// and directs a XML-stream to a file
PdfWriter.getInstance(document, new FileOutputStream("c:/test.pdf"));
// step 3: we create
lying structure to
show through just fine. However, if the images overlap each other the
underlying image is not shown.
Am I doing something wrong or is that a setting I'm missing?
Any input would be greatly appreciated. Thank You.
Max Roux
Application Development
TAMKO Roofing Products, I
Hello,
After installing latest patches for IE6, the browser started to prompt with
the "File Download" window when requesting doGet() of a servlet that
generates PDF on the Internet. Requests to the Local Intranet zone are
handled ok. Playing with the Security settings for the Internet zone doe
, and it is on the same page.
Further images show up on the next page.
Could this be related to the bug that was fixed in version 0.41? I am using
version 0.83. Also, these are dynamically generated images (both jpegs and
pngs)... could that be causing any problems?
Thanks
22 matches
Mail list logo