[EMAIL PROTECTED] wrote:
> Can anyone tell me why the output of the setLiteral() method would be 
> different
> than that of the StreamWriter? Hear is the output of the conversion from RTF 
> to PDF:

Either you don't understand PDF or I don't understand the question.
setLiteral is used for adding snippets of PDF syntax literally
into a content stream. I can't begin explaining why this is something
that can only be done by somebody who has a thorough understanding
of the PDF Reference. I think you're like a kid who has been given
a gun: very dangerous!

Just one example of where you're very, very wrong.
Object 5 is the page dictionary, it refers to Object 4 (with the
content) and Object 2 (with the resources). In the stream, we see
that a font /F0 is used. In the resources, we see that the font
information can be found in object 8. Object 8 tells us the font
is "MicrosoftSansSerif,Bold,Italic". I have no idea why you expect
it to be "Georgia". I have no idea what you are trying to achieve.

But I think you're probably doing something you shouldn't do.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to