Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
faxmail 5% patch
Hi Everyone,
I have hacked a basic fix to the postscript image is 5% regular size
problem. The patch faxmail2.diff is available at:
http://www.trump.net.au~rjc/hylafax/
it is done on top of Michael Salzmann's patch to fix faxmail's looping.
It not really finished yet there are a number of problems:
1) If the postscript part is the last part of the message, an extra blank
page will be printed(this is easily fixed but i want to resolve 2 first).
2) faxmail is basically just inserting without modification an arbitary
postscript document. This causes a number of problems:
* The DSC comments become truely messed - so much so that i would be
suprised if any previewer would correctly interpret the output.
* name collision with the faxmail variables ie faxmail defines commonly
named variable such as PageWidth which can easily be redefined in the
included doc.
The name collision can be fixed by prepending every faxmail var with say
'fm_' to minimise.
Or a better fix for this is to do some interpreting of the included
documents perhaps converting them to a series of EPS docs, one for each
page, so as to be isolated from the main document. This could only
realistically be done for well behaved postscript docs with DSC comments,
otherwise the document would just have to be directly included.
Before i go too far, does anyone have a better idea?
- Robert