You're correct, I'm forcing the indentation. In actuality I have 4 nested
layers in the document, each with a set indentation based on specific
formatting guidelines. The third nest always begins with a number such as
(1), (2), (3), ... etc. The fourth nest always begins with a lower case
alpha such as (a), (b), (c), ... etc. These two nested layers ALWAYS have
the font overwritten.
I stream the content from a C# web app and it displays in Adobe Acrobat
Reader X. Something happens to the 3 and 4th nested layers and the font
ALWAYS displays in Helvetica or Ariel, I'm not sure. I can't figure out if
this is a bug with itextsharp, Microsoft (C#), or Adobe Acrobat Reader or a
combination of all three.
I tried searching on streaming PDF's but haven't found anything yet.
On Mon, May 14, 2012 at 8:42 AM, iText Info <[email protected]> wrote:
> Op 14/05/2012 6:57, Mark Kauffman schreef:
>
> No matter what I try I always get the following results, no matter what
> font setting I put on c2, ph2, p2
>
> Item: MyWidget1 (this dislays Times Roman)
>
> (1) Item Category: Utility Tool (this displays as Helvetica 12)
>
> It’s as if iTextSharp considers it a ListItem because the of the (1) and
> is going to take control no matter what you do.
>
> OK, but aren't you causing the indentation yourself using this line:
>
> p2.FirstLineIndent = indent1;
>
> I don't really understand the question.
> It's as if you think that iText detects lists based on the first character of
> a paragraph (which is not the case), or as if you think that a PDF is similar
> to HTML (but it isn't: every coordinate is fixed in a PDF).
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php