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
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
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
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
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
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
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
[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.
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 "."