HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] how to adjust comment width in faxcover.ps



David Banning wrote:
> 
> "Keith G. Murphy" wrote:
> >
> > David Banning wrote:
> > >
> > > I have just created my faxcover with Tgif/make_faxcover
> > >
> > > the comment for some reason
> > > is fixed at about 32 characters wide before it moves onto the next line
> > >
> > > Does anyone know how to adjust this?
> > >
> > David, this is *hardcoded* in the source, at least in 4.0.  I'm working
> > on a fix to this at the present moment.
> 
> That would be great -
> 
For my purposes, it turned out all I really needed was to *get rid of*
all auto-wrapping in faxcover (client I'm working on wraps it OK, and
I'd like it WYSIWYG).  I can send you the modified faxcover.c++ if you
like, or the deb file I generated (useful if you're using Debian or a
derivative), but you probably want auto-wrapping.

My code to eliminate the auto-wrapping and just accept wrapping from
client is almost trivial.

Turns out, the faxcover auto-wrapping code is not only hardcoded, but
buggy (you lose characters if you have any '\n' wrapping after
auto-wrapping), so simply substituting a parameter for the hardcoded
'35' won't completely fix things.

If you fix it, folks will probably be grateful, but 4.1 probably has
this all knocked out already.


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions