<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Image_Canvas</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/20041" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19954" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16948" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16929" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16925" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12961" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/20041">
      <title>Image_Canvas: Bug 20041 [Open] Declaration &quot;static&quot; missing</title>
      <link>http://pear.php.net/bugs/20041</link>
      <content:encoded><![CDATA[<pre>Image_Canvas Bug
Reported by romanf
2013-08-15T17:09:11+00:00
PHP: 5.4.3 OS: Linux Package Version: 0.3.5

Description:
------------
According to http://php.net/manual/en/language.oop5.static.php functions that are used statically (as in $Canvas =&amp; Image_Canvas::factory(...)) must be declared with the keyword &quot;static&quot;:

now:
    function &amp;factory($canvas, $params) {...}

should be:
    static function &amp;factory($canvas, $params) {...}


Yes, the warning can be supressed by setting the error-level to ini_set(&quot;error_reporting&quot;, &quot;E_ALL &amp; ~E_STRICT&quot;);
but that can only be a temporary workaround...

Kind regards
Roman</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_Canvas Bug
Reported by romanf
2013-08-15T17:09:11+00:00
PHP: 5.4.3 OS: Linux Package Version: 0.3.5

Description:
------------
According to http://php.net/manual/en/language.oop5.static.php functions that are used statically (as in $Canvas =&amp; Image_Canvas::factory(...)) must be declared with the keyword &quot;static&quot;:

now:
    function &amp;factory($canvas, $params) {...}

should be:
    static function &amp;factory($canvas, $params) {...}


Yes, the warning can be supressed by setting the error-level to ini_set(&quot;error_reporting&quot;, &quot;E_ALL &amp; ~E_STRICT&quot;);
but that can only be a temporary workaround...

Kind regards
Roman</pre>]]></description>
      <dc:date>2013-08-15T17:09:11+00:00</dc:date>
      <dc:creator>romanf &amp;#x61;&amp;#116; trash &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Image_Canvas Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19954">
      <title>Image_Canvas: Bug 19954 [Open] GD version regex not correctly identifying 2.1.x</title>
      <link>http://pear.php.net/bugs/19954</link>
      <content:encoded><![CDATA[<pre>Image_Canvas Bug
Reported by adrianj
2013-05-22T04:57:07+00:00
PHP: 5.4.15 OS: Debian Package Version: 0.3.5

Description:
------------
In the GD.php file, the _version function incorrectly identifies 
GD 2.1.0 (just released with PHP 5.4.15) as 1.x and so 
Image_Canvas no longer uses ImageCreateTrueColor which 
creates all sorts of PNG transparency and color issues.

Can be easily fixed by changing the order of the checks so 
that 2.x is detected before. Although a more robust regex 
would be a better option.

        if (preg_match('/2\.[0-9]{1,2}/', $version)) {
            return 2;
        }
        elseif (preg_match('/1\.[0-9]{1,2}/', $version)) {
            return 1;
        }
        else {
            return 0;
        }</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_Canvas Bug
Reported by adrianj
2013-05-22T04:57:07+00:00
PHP: 5.4.15 OS: Debian Package Version: 0.3.5

Description:
------------
In the GD.php file, the _version function incorrectly identifies 
GD 2.1.0 (just released with PHP 5.4.15) as 1.x and so 
Image_Canvas no longer uses ImageCreateTrueColor which 
creates all sorts of PNG transparency and color issues.

Can be easily fixed by changing the order of the checks so 
that 2.x is detected before. Although a more robust regex 
would be a better option.

        if (preg_match('/2\.[0-9]{1,2}/', $version)) {
            return 2;
        }
        elseif (preg_match('/1\.[0-9]{1,2}/', $version)) {
            return 1;
        }
        else {
            return 0;
        }</pre>]]></description>
      <dc:date>2013-06-29T11:50:00+00:00</dc:date>
      <dc:creator>adrianbjones &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Image_Canvas Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16948">
      <title>Image_Canvas: Bug 16948 [Open] Check if multiline-text working fine across output-drivers</title>
      <link>http://pear.php.net/bugs/16948</link>
      <content:encoded><![CDATA[<pre>Image_Canvas Bug
Reported by neufeind
2009-12-27T01:20:30+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
GD and SVG should work (need to re-check).

For others like e.g. PDF we need to check if multiline-text (breaking text with \n) currently works at all. If it does (newlines handled by pdf-library) at least the functions textHeight() (and if vertical text is allowed in that driver also textWidth) need adjustment, e.g. like

    function textWidth($text)
    {
        return $this-&gt;_font['size'] * count(explode(&quot;\n&quot;,$text));
    }

( Thanks go to bug-report #16833: patch for newlines in SVG addText() )</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_Canvas Bug
Reported by neufeind
2009-12-27T01:20:30+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
GD and SVG should work (need to re-check).

For others like e.g. PDF we need to check if multiline-text (breaking text with \n) currently works at all. If it does (newlines handled by pdf-library) at least the functions textHeight() (and if vertical text is allowed in that driver also textWidth) need adjustment, e.g. like

    function textWidth($text)
    {
        return $this-&gt;_font['size'] * count(explode(&quot;\n&quot;,$text));
    }

( Thanks go to bug-report #16833: patch for newlines in SVG addText() )</pre>]]></description>
      <dc:date>2012-01-02T06:45:45+00:00</dc:date>
      <dc:creator>pear &amp;#x64;&amp;#111;&amp;#x74; neufeind &amp;#x61;&amp;#116; speedpartner &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Image_Canvas Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16929">
      <title>Image_Canvas: Bug 16929 [Open] SVG incorrectly contains absolute path to font file in font-family</title>
      <link>http://pear.php.net/bugs/16929</link>
      <content:encoded><![CDATA[<pre>Image_Canvas Bug
Reported by daveo
2009-12-19T02:29:52+00:00
PHP: Irrelevant OS: Linux Package Version: 0.3.2

Description:
------------
having the absolute path will make the SVG file machine specific.  Not all machines will have the font in the same location.

The line 761 in SVG.php needs to be changed.  Easiest fix would be to enclose this-&gt;_font['name'] in the basename function

Expected result:
----------------
&lt;text x=&quot;0&quot; y=&quot;0&quot; style=&quot;font-family:verdana.ttf;font-size:8px;fill:rgb(0,0,0);text-anchor:end;&quot;&gt;500&lt;/text&gt;

Actual result:
--------------
&lt;text x=&quot;0&quot; y=&quot;0&quot; style=&quot;font-family:/abosolute/path/to/font/on/linux/verdana.ttf;font-size:8px;fill:rgb(0,0,0);text-anchor:end;&quot;&gt;500&lt;/text&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_Canvas Bug
Reported by daveo
2009-12-19T02:29:52+00:00
PHP: Irrelevant OS: Linux Package Version: 0.3.2

Description:
------------
having the absolute path will make the SVG file machine specific.  Not all machines will have the font in the same location.

The line 761 in SVG.php needs to be changed.  Easiest fix would be to enclose this-&gt;_font['name'] in the basename function

Expected result:
----------------
&lt;text x=&quot;0&quot; y=&quot;0&quot; style=&quot;font-family:verdana.ttf;font-size:8px;fill:rgb(0,0,0);text-anchor:end;&quot;&gt;500&lt;/text&gt;

Actual result:
--------------
&lt;text x=&quot;0&quot; y=&quot;0&quot; style=&quot;font-family:/abosolute/path/to/font/on/linux/verdana.ttf;font-size:8px;fill:rgb(0,0,0);text-anchor:end;&quot;&gt;500&lt;/text&gt;</pre>]]></description>
      <dc:date>2009-12-20T18:16:48+00:00</dc:date>
      <dc:creator>dccoao13 &amp;#x61;&amp;#116; yahoo &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Image_Canvas Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16925">
      <title>Image_Canvas: Bug 16925 [Open] Angled text improperly displayed in SVG.</title>
      <link>http://pear.php.net/bugs/16925</link>
      <content:encoded><![CDATA[<pre>Image_Canvas Bug
Reported by daveo
2009-12-18T22:18:38+00:00
PHP: 5.3.1 OS: Debian Etch Package Version: 0.3.2

Description:
------------
Angled text improperly displayed in SVG.  It will appear upside down.

Test script:
---------------
see line 756 to SVG.php in 0.3.2 version:

'transform=&quot;rotate(' . (($this-&gt;_font['angle'] + 180) % 360) . ')&quot; ' :

The &quot;+ 180&quot; will only work in correctly displaying text vertically -- readable from bottom to top.  Text angled at 45 will appear upside down.

Expected result:
----------------
text appears at 45 readable from laft to right

Actual result:
--------------
text (readable from left to right) is rotatated an additional 180</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_Canvas Bug
Reported by daveo
2009-12-18T22:18:38+00:00
PHP: 5.3.1 OS: Debian Etch Package Version: 0.3.2

Description:
------------
Angled text improperly displayed in SVG.  It will appear upside down.

Test script:
---------------
see line 756 to SVG.php in 0.3.2 version:

'transform=&quot;rotate(' . (($this-&gt;_font['angle'] + 180) % 360) . ')&quot; ' :

The &quot;+ 180&quot; will only work in correctly displaying text vertically -- readable from bottom to top.  Text angled at 45 will appear upside down.

Expected result:
----------------
text appears at 45 readable from laft to right

Actual result:
--------------
text (readable from left to right) is rotatated an additional 180</pre>]]></description>
      <dc:date>2010-01-13T20:34:07+00:00</dc:date>
      <dc:creator>dccoao13 &amp;#x61;&amp;#116; yahoo &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Image_Canvas Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12961">
      <title>Image_Canvas: Feature/Change Request 12961 [Open] can't insert svg elements with addText</title>
      <link>http://pear.php.net/bugs/12961</link>
      <content:encoded><![CDATA[<pre>Image_Canvas Feature/Change Request
Reported by adrianbj
2008-01-23T03:15:55+00:00
PHP: 5.2.5 OS: Debian Package Version: 0.3.1

Description:
------------
In SVG.php, there is a line in the addText function:

htmlspecialchars($text) .

Unfortunately, this prevents the use of svg elements such as &lt;tspan&gt;. Removing the htmlspecialchars fixes the problem, but I do see why you added it, so there might be a better way to fix the problem.

Expected result:
----------------
SVG elements such as &lt;tspan&gt; should be applied to the text

Actual result:
--------------
the elements themselves are actually printed along with the text</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_Canvas Feature/Change Request
Reported by adrianbj
2008-01-23T03:15:55+00:00
PHP: 5.2.5 OS: Debian Package Version: 0.3.1

Description:
------------
In SVG.php, there is a line in the addText function:

htmlspecialchars($text) .

Unfortunately, this prevents the use of svg elements such as &lt;tspan&gt;. Removing the htmlspecialchars fixes the problem, but I do see why you added it, so there might be a better way to fix the problem.

Expected result:
----------------
SVG elements such as &lt;tspan&gt; should be applied to the text

Actual result:
--------------
the elements themselves are actually printed along with the text</pre>]]></description>
      <dc:date>2009-12-27T00:45:01+00:00</dc:date>
      <dc:creator>adrianbjones &amp;#x61;&amp;#116; yahoo &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Image_Canvas Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
