Re: [iText-questions] extra linefeed when converting html to PDF - div tag work-around

2006-08-24 Thread bruno
Ralf Hauser wrote: >Bruno, > >Thanks a lot - yes, this kind of works, however it doesn't really solve the >problem, but just postpones it. > > >ab >cd > > >still shows the problem between "c" and "d". >So, either the "cd" gets bracketed with a div tag too or there is a >non-bold character before

Re: [iText-questions] extra linefeed when converting html to PDF - div tag work-around

2006-08-23 Thread Ralf Hauser
Bruno, Thanks a lot - yes, this kind of works, however it doesn't really solve the problem, but just postpones it. ab cd still shows the problem between "c" and "d". So, either the "cd" gets bracketed with a div tag too or there is a non-bold character before the first bold one that is witho

Re: [iText-questions] extra linefeed when converting html to PDF - one work-around found

2006-08-23 Thread Ralf Hauser
t; To: [EMAIL PROTECTED]; Post all your questions about iText here > Subject: Re: [iText-questions] extra linefeed when converting html to PDF > > If you want to use   make sure you have a DOCTYPE tag referencing > the xhtml dtd, where this entity is declared. > > Ralf Hauser a écrit

Re: [iText-questions] extra linefeed when converting html to PDF

2006-08-23 Thread bruno
Ralf Hauser wrote: >When I try to that, I get the below exception, but perhaps this is easier to >fix? > OK, I had a look at it. If you want to settle for a very easy fix, use: ab br, Bruno - Using Tomcat but need to do

Re: [iText-questions] extra linefeed when converting html to PDF

2006-08-23 Thread Damien Drix
If you want to use   make sure you have a DOCTYPE tag referencing the xhtml dtd, where this entity is declared. Ralf Hauser a écrit : > org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not > declared. > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source

Re: [iText-questions] extra linefeed when converting html to PDF - work-around ideas sought/font color not working

2006-08-23 Thread Ralf Hauser
Hi, Another work-around would be to live with the required extra ".", but to color it in a way that it is normally not seen: .ab would be an other approach, but as it has been asked before (http://sourceforge.net/mailarchive/message.php?msg_id=6931861, http://sourceforge.net/mailarchive/mes

Re: [iText-questions] extra linefeed when converting html to PDF

2006-08-23 Thread Ralf Hauser
gt; From: [EMAIL PROTECTED] [mailto:itext- > [EMAIL PROTECTED] On Behalf Of bruno > Sent: Wednesday, August 23, 2006 12:18 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] extra linefeed when converting html to PDF > > [EMAIL PROTECTED] wrote: &g

Re: [iText-questions] extra linefeed when converting html to PDF

2006-08-23 Thread bruno
[EMAIL PROTECTED] wrote: >Hi Bruno and list, > >When converting the following html file to a pdf (using SAXiTextHandler, >etc.), a line-break is entered between the bold "a" and the "b" in the >resulting pdf. > > >ab > > >When adding a printable character BEFORE the tag, this no longer happens.

[iText-questions] extra linefeed when converting html to PDF

2006-08-23 Thread ralfhauser
Hi Bruno and list, When converting the following html file to a pdf (using SAXiTextHandler, etc.), a line-break is entered between the bold "a" and the "b" in the resulting pdf. ab When adding a printable character BEFORE the tag, this no longer happens. .ab But then, I have an extra "."