[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fltk printing [changest]
From: |
Ben Abbott |
Subject: |
Re: fltk printing [changest] |
Date: |
Mon, 26 Jul 2010 21:22:50 -0400 |
On Jul 24, 2010, at 12:23 PM, Michael D Godfrey wrote:
> 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
I've got an initial changeset prepared. I did some testing, but hope to do
more. I'm running short of free time, so I'd appreciate if others can take a
look.
The gl2ps functionality needs to be extended to allow for ps/pdf/pgf/svg/latex
output. Until then those device won't work.
However, the other device types should work with this changeset (i.e. bitmaps,
dxf, metafont, etc).
I've made a few changes to __gnuplot_print__, but much more needs to be done
after these changes are committed.
I've not pushed this yet, but if it is preferred that I do that, let me know.
Ben
changeset.patch
Description: Binary data
- Re: mouse rotation for fltk backend, (continued)
- Message not available
- Re: fltk printing, Ben Abbott, 2010/07/23
- Re: fltk printing, Michael D Godfrey, 2010/07/23
- Re: fltk printing, Shai Ayal, 2010/07/24
- Re: fltk printing, Ben Abbott, 2010/07/24
- Re: fltk printing, Michael D Godfrey, 2010/07/24
- Re: fltk printing, Ben Abbott, 2010/07/24
- Re: fltk printing [changest],
Ben Abbott <=
- Re: fltk printing [changest], Michael D Godfrey, 2010/07/26
- Re: fltk printing [changest], Ben Abbott, 2010/07/26
- Re: fltk printing [changest], Ben Abbott, 2010/07/27
- Re: fltk printing [changest], Shai Ayal, 2010/07/27
- Re: fltk printing [changest], bpabbott, 2010/07/27
- Re: fltk printing [changest], Ben Abbott, 2010/07/27
- Re: fltk printing [changest], Ben Abbott, 2010/07/29
- Re: fltk printing [changest], Michael D Godfrey, 2010/07/30
- Re: fltk printing [changest], Ben Abbott, 2010/07/30
- Re: fltk printing [changest], Shai Ayal, 2010/07/30