[gl2ps] SVG image scaling
Pantxo Diribarne
pantxo.diribarne at gmail.com
Fri Sep 2 12:00:32 CEST 2016
Hi,
We have identified in Octave [1] the same bug for the PDF terminal: images
are incorrectly scaled.
I attached a simple patch which redefines arguments for the transform
matrix.
Pantxo
[1] https://savannah.gnu.org/bugs/?func=detailitem&item_id=48760
2015-10-17 19:09 GMT+02:00 Pantxo Diribarne <pantxo.diribarne at gmail.com>:
> Le 17/10/2015 18:53, Christophe Geuzaine a écrit :
>
>> On 17 Oct 2015, at 10:37, Pantxo Diribarne <pantxo.diribarne at gmail.com>
>>> wrote:
>>>
>>> Hi,
>>>
>>> In Octave we found out that, in the SVG output of gl2ps, images were not
>>> scaled properly (see [1]). I attached a patch that makes things works as in
>>> postscript. I used the "transform" attribute of image elements to setup a
>>> transformation matrix.
>>>
>>> Thanks for the patch! It's merged in SVN. Do you have any other patches
>> in the pipeline for Octave? If not, we should probably push a new official
>> release (1.3.9).
>>
>> Christophe
>>
>> Thanks,
>>>
>>> Pantxo
>>>
>>> [1] https://savannah.gnu.org/bugs/?func=detailitem&item_id=37753
>>> <svg_image.patch>_______________________________________________
>>> gl2ps mailing list
>>> gl2ps at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gl2ps
>>>
>> No more patch here. Great to know this new release will be out.
>
> Thanks,
>
> Pantxo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20160902/df1f47c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PDF_image.patch
Type: text/x-diff
Size: 416 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20160902/df1f47c2/attachment.patch>