[gl2ps] SVG image scaling
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Sat Sep 3 12:55:03 CEST 2016
Also merged in SVN.
> On 02 Sep 2016, at 12:00, Pantxo Diribarne <pantxo.diribarne at gmail.com> wrote:
>
> 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
>
> <PDF_image.patch>
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info