octave-maintainers
[Top][All Lists]
Advanced

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

Re: hardcopy support for gl-render and the fltk_backend


From: Shai Ayal
Subject: Re: hardcopy support for gl-render and the fltk_backend
Date: Tue, 20 Oct 2009 10:39:56 +0200

On Mon, Oct 19, 2009 at 10:08 AM, Michael Goffioul
<address@hidden> wrote:
> On Sun, Oct 18, 2009 at 9:30 PM, Shai Ayal <address@hidden> wrote:
>> Can this be done w/o additional work in the renderer -- i.e. only by
>> using the new PS macros in the modified gl2ps, or do you need to
>> implement some sort of a simple TeX interpreter as you do in
>> SimpleTextEngine.java?
>
> I guess it is imaginable to process something like:
> a_{12}+x^2*\theta_1 entirely in PS, but I guess it can be a little
> bit tedious. What I did is to re-use the visitor pattern I had implemented
> for normal rendering to split a string into elements and add the PS code
> to render those elements

I agree it doesn't make sense to try and implement this in PS.
There was also talk once of rendering text with LaTeX (I think Michael
wrote the text rendering engine anticipating we would use LaTeX to
produce bitmaps).

In any case there is still quite an amount of work to be done before
we have TeX support. I suggest the changeset be committed meanwhile.

Shai


reply via email to

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