octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk printing


From: Michael D Godfrey
Subject: Re: fltk printing
Date: Sat, 24 Jul 2010 09:23:40 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1

 On 07/24/2010 08:56 AM, Ben Abbott wrote:
Ok. I start by committing some new functions.

        scripts/plot/__ghostscript_binary__.m : returns the name of the gs 
binary.
        scripts/plot/__get_eps_bbox__.m : extract the eps-file's bbox.
        scripts/plot/__fix_eps_bbox__.m : replace bbox with a tight version.
        scripts/plot/psfrag.m : uses psfrag to substitute latex text into eps 
files.
Do you really mean latex converted to eps?  What do you use to do this?
Remember to do both tex and latex...
I'll leave __ghostscript__.m to Michael.

I'm considering a new approach to the print options. They are in a bit of a 
mess presently. I'll make a proposal once I have something functioning and 
tested. Essentially, I'm planning to have the options apply more uniformly to 
all device types.

I don't plan to modify __gnuplot_print__, until after an acceptable solution 
for __fltk_print__ is finished.  At that point, the gnuplot version can be 
modified to behave in consistent manner. Presently, I don't expect this will 
limit printing for the gnuplot backend.

Ben


This sounds really good. If the fltk code is made into functions, keeping the backend dependent parts in separate functions then is should be pretty easy to change __gnuplot__print__
to call the common functions.

Michael




reply via email to

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