<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/html2fpdf/bugs/</link><description>Recent changes to bugs</description><language>en</language><lastBuildDate>Tue, 27 Sep 2016 13:28:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/html2fpdf/bugs/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>tables: problem with font-size, spacing &amp; img</title><link>https://sourceforge.net/p/html2fpdf/bugs/65/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;HTML2PDF works quite good and is superior to many other classes when it comes to tables. However, there's still a few annoying bugs (or maybe i'm just doing something wrong?)&lt;br/&gt;
- inside a  it will not alter the font-width. i tried using &amp;lt;H2&amp;gt; tags (that made even the text after the closing  tag bold), &lt;font size="24"&gt;, &amp;lt;div style= etc., but nothing worked. The example on the website (with the table) doesn't show any differences in size either, so maybe this is a known bug?&lt;br/&gt;
- images will align to the left of a cell. i can't get it to the center. I've tried a workaround with extra cells, but unfortunately the extra cells beared another bug. They just wouldn't stick to the width i set for them. My solution was to push the image with some text that had the same color as the background.&lt;br/&gt;
- the spacing between 2 table-rows is quite big. i couldn't find anything to change that&lt;br/&gt;
apart from all that, it works quite nice :-)&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">naveen</dc:creator><pubDate>Tue, 27 Sep 2016 13:28:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdde298c954047974206b2025c708cf6fab0843b9</guid></item><item><title>html2pdf does not interpret a table within another table cel</title><link>https://sourceforge.net/p/html2fpdf/bugs/64/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;html2pdf doesn't recognize a table embedded inside another table cell. It shows up as if that particular table cell which had another table completely empty. For example. &lt;br /&gt;
&amp;lt;table &amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &amp;lt;!-- this cell has another table in it with the message: "hello" which is never displayed. --&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;hello&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 20 May 2009 15:35:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4b47bee825b14c2b348b4b59ecbdff29fab9af6b</guid></item><item><title>Header not getting Printer.</title><link>https://sourceforge.net/p/html2fpdf/bugs/63/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I have a helper class say pdfHelper as below&lt;/p&gt;
&lt;p&gt;class pdfHelper extends HTML@PDF{&lt;/p&gt;
&lt;p&gt;function Header(){&lt;br /&gt;
//some code&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;function Footer(){&lt;br /&gt;
// some code&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;When the footer is working properly the header is not working when i call the WriteHTML() function where the html goes over one page. &lt;/p&gt;
&lt;p&gt;I guess the function Header in HTML2PDF should consider the printing of user headers like images other than table headers when the table goes over one page. &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Venkat&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 24 Oct 2008 22:38:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1fef1945e19766c132e99ac75f2f41cc2eb2244f</guid></item><item><title>FPDF error: GIF parser: unable to open file</title><link>https://sourceforge.net/p/html2fpdf/bugs/62/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I can't seem to figure out the problem here, there's no additional details on this error...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HM2K</dc:creator><pubDate>Wed, 11 Jun 2008 14:17:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3bb35c69bfd41b0774636028eba18dd55ca65d19</guid></item><item><title>Notice: Undefined index: wrapper in /home/share/www/tmp/html</title><link>https://sourceforge.net/p/html2fpdf/bugs/61/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Notice: Undefined index: wrapper in /home/share/www/tmp/html2fpdf/html2fpdf.php on line 805&lt;/p&gt;
&lt;p&gt;You should try working to error_reporting(E_ALL);&lt;/p&gt;
&lt;p&gt;You should check that variables are set using isset() before you use them.&lt;/p&gt;
&lt;p&gt;elseif (isset($attr['ID']) &amp;amp;&amp;amp; isset($this-&amp;gt;CSS[$attr['ID']])) $properties = $this-&amp;gt;CSS[$attr['ID']];&lt;/p&gt;
&lt;p&gt;Also, unrelated... a few lines above you see this...&lt;/p&gt;
&lt;p&gt;if( isset($attr['ALIGN']) and  $attr['ALIGN'] != '' )&lt;/p&gt;
&lt;p&gt;That can be written like this:&lt;/p&gt;
&lt;p&gt;if (isset($attr['ALIGN']) &amp;amp;&amp;amp; !empty($attr['ALIGN']))&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HM2K</dc:creator><pubDate>Wed, 11 Jun 2008 13:43:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6fea975ea9c39e3f50b7f75ee521d63064f9d233</guid></item><item><title>Warning: file_get_contents(http://www.hm2k.com/wp-content/th</title><link>https://sourceforge.net/p/html2fpdf/bugs/60/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Warning: file_get_contents(http://www.hm2k.com/wp-content/themes/hm2k/style.css" type="text/css" media="screen,print) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/share/www/tmp/html2fpdf/html2fpdf.php on line 2211&lt;/p&gt;
&lt;p&gt;I found that the regex on line 2182 was incorrect...&lt;/p&gt;
&lt;p&gt;FIND&lt;br /&gt;
$regexp = '/&amp;lt;link rel="stylesheet".*?href="(.+?)"\\s*?\/?&amp;gt;/si'; &lt;/p&gt;
&lt;p&gt;REPLACE WITH&lt;br /&gt;
$regexp = '/&amp;lt;link rel=[\'"]stylesheet[\'"].*?href=[\'"](.+?)[\'"]/si';&lt;/p&gt;
&lt;p&gt;It doesn't need to be so strict... just an opening and closing " will do...&lt;/p&gt;
&lt;p&gt;I gave it an option of using " or ', as sometimes people use '...&lt;/p&gt;
&lt;p&gt;You shouldn't really use regex to parse HTML anyway, but never mind...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HM2K</dc:creator><pubDate>Wed, 11 Jun 2008 13:39:58 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2fdcffecac8465a51d22739631b05ba8d6134cea</guid></item><item><title>Link tag regex incorrect (Fix included)</title><link>https://sourceforge.net/p/html2fpdf/bugs/59/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using version 3.0.2beta.&lt;/p&gt;
&lt;p&gt;This tag gets the following error:&lt;br /&gt;
&amp;lt;link rel="stylesheet" href="wizard/wizard.css" type="text/css" /&amp;gt;&lt;/p&gt;
&lt;p&gt;[29-Feb-2008 15:16:46] PHP Warning: file_get_contents(wizard/wizard.css" type="text/css) [function.file-get-contents]: failed to open stream: Invalid argument in .../html2fpdf.php on line 2211 &lt;/p&gt;
&lt;p&gt;This is due to the regex on line 2182 being incorrect. Instead of:&lt;br /&gt;
$regexp = '/&amp;lt;link rel="stylesheet".*?href="(.+?)"\\s*?\/?&amp;gt;/si';&lt;br /&gt;
It should be:&lt;br /&gt;
$regexp = '/&amp;lt;link rel="stylesheet".*?href="([^"]+?)"\\s*?\/?&amp;gt;/si';&lt;br /&gt;
What is changed is that instead of being ".+?" it is changed to "[^"]+?", meaning everything but ".&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Keilaron</dc:creator><pubDate>Fri, 29 Feb 2008 20:41:08 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9625dfd0bd8c22efa1fb2090a9cd7fcf8552f543</guid></item><item><title>Image() Bug Found - I have the solution</title><link>https://sourceforge.net/p/html2fpdf/bugs/58/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Most calls to the Image() function use the following code to see if the given source path  is an actual file:&lt;/p&gt;
&lt;p&gt;$f_exists = @fopen($srcpath,"rb");&lt;br /&gt;
if (!$f_exists) //Show 'image not found' icon instead&lt;/p&gt;
&lt;p&gt;This is a slow &amp;amp; antiquated method of checking to see if a file exists, and it's causing errors within HTML2PDF.&lt;/p&gt;
&lt;p&gt;Simple Solution, use if_file() instead:&lt;/p&gt;
&lt;p&gt;if (!is_file($srcpath)) //Show 'image not found' icon instead&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 17 Dec 2007 02:05:38 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net072a3833dad1b14f9a00ead73c57c167a6842734</guid></item><item><title>Unable to read microsoft office word generated GIF images</title><link>https://sourceforge.net/p/html2fpdf/bugs/57/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I need to output pdf from a html web page including GIF images generated through Microsoft Office Word.&lt;br /&gt;
It's working fine with the normal gif images.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aadhunik</dc:creator><pubDate>Thu, 06 Dec 2007 12:58:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net95e4b36b8ad19fbd718e2dc3881463e0b99bae3d</guid></item><item><title>Bug generating tables bigger than one page in Landscape Mode</title><link>https://sourceforge.net/p/html2fpdf/bugs/56/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Since several months now (in fact since the beginning) I experiene a bug while trying to generate a table that is bigger than one page in landscape mode.&lt;/p&gt;
&lt;p&gt;Though it works in portrait mode, in lanscape mode, my table displays correctly for the first several rows and then, when it needs to start a new page for the next rows, it displays only one cell by page (at the bottom of the page) before adding a new page, which leads to have for example 35 pages instead of 2.&lt;/p&gt;
&lt;p&gt;Any of you have ever experienced that or have any solution ?&lt;/p&gt;
&lt;p&gt;Thanks by the way, the class is great.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 09 Oct 2007 16:51:56 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net92226dd2cec48f2c1b2b27c1a497d3a63b098965</guid></item></channel></rss>