octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing lineheight


From: Michael Goffioul
Subject: Re: Implementing lineheight
Date: Mon, 24 Jun 2013 22:06:06 -0400

On Mon, Jun 24, 2013 at 9:48 PM, Ben Abbott <address@hidden> wrote:
On Jun 24, 2013, at 02:21 PM, Andrej Lojdl <address@hidden> wrote:

New parameter is finally added. Default value is 1. Note that it don't work with print and saveas (I didn't work on this part). I think that now I need to make call graph as Patrick suggested.

I'm surprised that the OpenGL rendering on screen works, but doesn't work with printI() and saveas().  My understanding is that the gl2ps library captures the OpenGL commands and provides eps/pdf/png/etc output for what is displayed.  If the print() and saveas() don't work, there maybe a problem that needs to be fixed (and my be unrelated to your changes).  Can you provide a patch?

When printing, text is not handled through OpenGL, as the result would be bad (rasterized images, instead of scalable text). Instead, when a text encountered, the string with all the text attributes are pushed into the OpenGL feedback buffer for later processing by GL2PS. It shouldn't be too hard to hack GL2PS to handle the lineheight property, but I think this goes out of the scope of this exercise.

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]