Hi;
I am creating a font as such:
Font font = FontFactory.getFont(
"Comic Sans MS", 12.0f, FONT.ITALIC );
BaseFont bf =
font.getBaseFont();
If I do regular or BOLD - it works. But ITALIC or
BOLD | ITALIC and it comes out regular. I know I have italic and bolditalic on
my system b
Hi;
Ok, I have FontFactory working and use the
following:
Font
font = FontFactory.getFont( fontName, fontSize
); BaseFont bf =
font.getBaseFont(); PdfContentByte.set...
And it all works fine. But how do I tell it to
embed or not embed the font in the pdf file?
thanks -
Never mind - I have to use FontFactory - sorry for
the question.
thanks - dave
- Original Message -
From:
David Thielen
To: itext
Sent: Friday, January 24, 2003 2:52
PM
Subject: ttf font exception
Hi;
I have the following line of code:
BaseFo
Hi;
I have the following line of code:
BaseFont bf =
BaseFont.createFont( "Arial Black", "Cp1252, BaseFont.NOT_EMBEDDED
);
And it throws the exception:
Exception
occurred: DocumentException: Font 'Arial Black' with 'Cp1252' is not
recognized.
I did a:
for (Iterator i =
Font
Hi;
Is there any standard for adding bold/italic to the font name? When I list
out the names I get
fontname Bold Italic
fontname-BoldItalic
fontnameBoldItalic
Also, lots of fonts don't have bold and/or italic versions - how do I
specify a bold/italic version of them?
thanks - dave
> > - Or
Can i convert a html file to pdf ?
felipe
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
iText-questions
Forgot the attachment
- Original Message -
From:
David Thielen
To: David Thielen ; itext
Sent: Friday, January 24, 2003 1:22
PM
Subject: Re: [iText-questions] Building
1.07
Hi;
I didn't find any instructions on how to build -
can you give me the
Are ZapfDingbats and WingDings the same
characters?
thanks - dave
Hi;In PdfContentByte.showTextAligned, if
the alignment is centered or right - how does it know where to center/right
align it. Does the x,y position become the center/right edge of the
text?
thanks - dave
Paulo Soares wrote:
If all that is required is the field and the actual signing is done
elsewhere then you have it all. I'll add your code in the next version.
Thank you very much.
regards,
finn
---
This SF.NET email is sponsored by:
Sourc
There isn't a 1.07 version, what exists is a itext-paulo-107 version. That's
explained in my site. You can also build everything from the CVS that has
the new version. See more below.
Best Regards,
Paulo Soares
> -Original Message-
> From: David Thielen [SMTP:[EMAIL PROTECTED]]
> Sent: Fr
How can set a specific font to whole document using XML ?
Regards
> -Original Message-
> From: Bruno [SMTP:[EMAIL PROTECTED]]
> Sent: 24 Ocak 2003 Cuma 16:21
> To: Russo Gaetano
> Cc: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] extend the SAXiTextHandler-class
>
> Quoting
Quoting Russo Gaetano <[EMAIL PROTECTED]>:
> could you briefly describe process to include character such as
> Arial in whole document, using Custom Tags and iText XML
> How can I parse turkish XML template. I use ISO-8859-9
> encoding.Bruno said in mailing list archive about cyrillic
Hi;
First off, I couldn't find the 1.07 iText.jar
anywhere so it does have to be built???
To confirm, is this how to build it:
Download the 0.96 sources
Download http://www.geocities.com/itextpdf/itext-paulo-107.zip and
copy it over the 0.96 sources
Download http://www.lowagie.com
I disagree. The documented behavior is that they can return in any order
when walking the map. And that order has changed between jdk versions. But I
have found that for a given jdk version, if I put the same data in in the
same order, it comes out in the same order - which is very useful for junit
Quoting Paulo Soares <[EMAIL PROTECTED]>:
> I don't use xml but from the attributes treatment in FontFactory a
> registered font will be called with the font-family attribute. It may be
> any
> font, not only a built-in. Of course, I may be missing something here.
That's why I wrote the FontFacto
That's documented behavior for hash maps.
Best Regards,
Paulo Soares
> -Original Message-
> From: David Thielen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 14:51
> To: itext
> Subject: Re: [iText-questions] Creating different files each time I
> run it
>
> yep - it's
No, this is really platform dependent and some fonts may not even be stored
in a directory.
Best Regards,
Paulo Soares
> -Original Message-
> From: David Thielen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 14:33
> To: itext
> Subject: Re: [iText-questions] using ttf f
I don't use xml but from the attributes treatment in FontFactory a
registered font will be called with the font-family attribute. It may be any
font, not only a built-in. Of course, I may be missing something here.
Best Regards,
Paulo Soares
> -Original Message-
> From: Russo Gaetano [SMT
could you briefly describe process to include character such as
Arial in whole document, using Custom Tags and iText XML
How can I parse turkish XML template. I use ISO-8859-9
encoding.Bruno said in mailing list archive about cyrillic font :
"If you use the iTextXML.jar AS-I
yep - it's a font. That's still worrisome that a hashmap will operate
differently on the same data...
thanks - dave
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext"
<[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 7:28 AM
Quoting Jpenuela <[EMAIL PROTECTED]>:
> I've solved my problem with the soluction from
> http://www.lowagie.com/iText/faq.html#msie
> MSIE needs to know the exact content length of the pdf file in advance !!!
This may be a useful link:
http://www.mail-archive.com/itext-questions@lists.sourceforge
Not necessarily. Most of the objects are stored in hash maps where the
extraction order can be any and some others are cached. It would be
interesting to know what was the displaced object, maybe a font?
Best Regards,
Paulo Soares
> -Original Message-
> From: David Thielen [SMTP:[EMAIL PR
Isn't there something in one of the java properties files that tells java
where the fonts are? And couldn't we then get it from that?
thanks - dave
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext"
<[EMAIL PROTECTED]>
Sent: F
The standard pdf fonts don't have the turkish characters. You have have to
embedd a font with the characters, such as Arial from win2000 and later.
Best Regards,
Paulo Soares
> -Original Message-
> From: Russo Gaetano [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 14:02
> To:
I understand the numbers can be anything. But I would think that running it
twice in a row with identical commands would lead to identical numbers???
- dave
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext"
<[EMAIL PROTECTED]
I'm developing a java library to generate PDF report.I have a
problem concerning special Turkish The problem scenario is the following: I
have implemented a PDF Report
Generator in Java. To describe it briefly, the generator is a piece of Java
code that reads an XML layout specification
and a st
Quoting Jpenuela <[EMAIL PROTECTED]>:
> I've solved my problem with the soluction from
> http://www.lowagie.com/iText/faq.html#msie
> MSIE needs to know the exact content length of the pdf file in advance !!!
It will work in some versions of MSIE.
There is a JSP solution somewhere in the mailing
I've solved my problem with the soluction from
http://www.lowagie.com/iText/faq.html#msie
MSIE needs to know the exact content length of the pdf file in advance !!!
Thank's Bruno for your help.
- Original Message -
From: "Bruno" <[EMAIL PROTECTED]>
To: "Jpenuela" <[EMAIL PROTECTED]>
Cc: <
If all that is required is the field and the actual signing is done
elsewhere then you have it all. I'll add your code in the next version.
Best Regards,
Paulo Soares
> -Original Message-
> From: Finn Bock [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 8:10
> To: Paulo Soa
In speed terms you won't gain anything using writeSelectedRows compared to
document.add(table). fitsPage with PdfPTable doesn't have any performance
penalty and if you want to read all the data to the table first it won't
also have any performance penalty, besides memory. To use the first two rows
Since I am new to iText, i want to know is there any
other means of constructing PDF using PdfPTable.
I have seen writeSelectedRows method for writing to
pdf (but here we need to specify the coordinates) and
i thought it might be faster compared to adding it as
a page.
as i mentioned in the prev
Hi,
I am trying to convert Japanese HTML to PDF as follows,
1. Convert the HTML to X-HTML.
2. Run the java file to convert X-HTML to PDF.
This gives me an error as,
Insertion of illegal Element: 39
After doing some code walk through, I got the code where it is throwing the
error at SAXiTextHandl
I'm not sure what you are asking. Using PdfPTable.writeSelectedRows() any
number of rows can be written to the page and the return is the new y
position.
Best Regards,
Paulo Soares
> -Original Message-
> From: prabhakaran ramalingam [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 200
I suppose you are using PdfCopy an in this case it's not possible yet to add
other content.
Best Regards,
Paulo Soares
> -Original Message-
> From: kelly B [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 19:34
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] java sc
See
http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg03770.h
tml
Best Regards,
Paulo Soares
> -Original Message-
> From: David Thielen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 3:31
> To: itext
> Subject: [iText-questions] using ttf fonts
>
> Hi
Pdfs can't be compared this way, the obj numbers can be anything and the
document be correct.
Best Regards,
Paulo Soares
> -Original Message-
> From: David Thielen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 2:39
> To: itext
> Subject: [iText-questions] Creating diffe
You have to use PdfPTableEvent. See the example at
www.geocities.com/itextpdf.
Best Regards,
Paulo Soares
> -Original Message-
> From: Seran, Sathiyan [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 18:53
> To: '[EMAIL PROTECTED]'
> Subject: [iText-questions] How to dra
See the example columns3.java at www.geocities.com/itextpdf.
Best Regards,
Paulo Soares
> -Original Message-
> From: Huy Ho [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 1:42
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Insert Column like word
>
> Dear,
>
> H
Quoting Jpenuela <[EMAIL PROTECTED]>:
> We are planning to migrate some servlets that generates .html to be printed,
> to generate .pdf file, easy to print, using iText library.
>
> So, whe start testing example chap0105.java. In our OC4J embeded in
> Jdevelpoer 9.0.2, Acrobat Reader starts to l
40 matches
Mail list logo