[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [bug-enscript] Differing output depending on --language=
From: |
dave |
Subject: |
Re: Re: [bug-enscript] Differing output depending on --language= |
Date: |
Mon, 11 May 2009 20:18:45 +0100 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
On (17:53 13/04/09), Tim Retout <address@hidden> put forth the proposition:
On Sun, 2009-04-12 at 17:37 +0100, address@hidden wrote:
The font is being ignored and is set to Courier and there is no
footer.
Any ideas why this is happening?
These are pretty clearly bugs - RTF output (and, er, HTML and ANSI) is a
second-class citizen to PostScript at the moment. The 'Courier New'
font is hardcoded into the RTF output. The header/footer option is just
ignored if you are not using PostScript.
How motivated do you feel to write patches for this? :) Both are a case
of passing some variables from the main enscript program to the 'states'
program - look at the way document_title is set for HTML output for an
example.
The default font should be set to 'Courier New' for RTF output, and then
overridden... then used in states/hl/lang_rtf.st. Similarly for
headers/footers...
I have had a look at this today and manage to pass the font name but
I'm having a little trouble with the font size. It seems that the
point size should doubled in .rtf files and trying to do ptsize * 2 in
lang_rtf.st is given me errors. Same if I try to declare a var and
then multiply it. I'm not a whole lot familiar with .st files so could
use some clues how to do this. If I change the ptsize in main.c it
will I expect change all other filetype font sizes.
--
Tim Retout <address@hidden>
--
Breast Feeding should not be attempted by fathers with hairy chests,
since they can make the baby sneeze and give it wind.
-- Mike Harding, "The Armchair Anarchist's Almanac"
pgpUqvntYD7cN.pgp
Description: PGP signature
- Re: Re: [bug-enscript] Differing output depending on --language=,
dave <=