Re: [iText-questions] Problem with Chunk underline

2009-02-04 Thread 1T3XT info
mister bean wrote: > The basic problem is that currently the font style attributes are OR'd on. > (Bold, italic, underline, etc.) And that goes against the philosophy of a setter. That's why I'll probably change this in the near future. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.co

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread mister bean
The basic problem is that currently the font style attributes are OR'd on. (Bold, italic, underline, etc.) As you know, ORing is a one-way proposition. That is, you can only turn flags on, not off. The way we solve the problem in http://platypus.pz.org Platypus is to create a new font using the

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread pickm
Thanks! Here is the bug tracker: http://sourceforge.net/tracker/index.php?func=detail&atid=115255&aid=2561140&group_id=15255 Is there anything I can do to work around this for now? -- View this message in context: http://www.nabble.com/Problem-with-Chunk-underline-tp21793217p21812409.html Sen

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread 1T3XT info
pickm wrote: > I feel like I am missing something simple here. > > When parsing HTML, I want this to replace an existing underline with a new > one that I position. But it doesn't override the first, it just adds a > second underline. I attempted to set the font style back to NORMAL, but > tha

[iText-questions] Problem with Chunk underline

2009-02-02 Thread pickm
I feel like I am missing something simple here. When parsing HTML, I want this to replace an existing underline with a new one that I position. But it doesn't override the first, it just adds a second underline. I attempted to set the font style back to NORMAL, but that line of code is doing