[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-enscript] null escapes in enscript
From: |
Peng Yu |
Subject: |
[bug-enscript] null escapes in enscript |
Date: |
Mon, 4 Dec 2023 16:50:17 -0600 |
Hi,
I use the following command to convert a text file to ps file.
enscript -v text.txt -o /tmp/text.ps
Supposedly, the default of --escapes is a null character.
The text in text.txt is the following. ^@ indicates a null character.
But the resulting ps file does not contain the format information.
normal text ^@color{1 0 0}red text ^@font{Courier-Bold10}Courier-Bold
10pt @font{Helvetica-BoldOblique12}Helvetica-BoldOblique 12pt
@font{default}default font again @color{default}default color again
Is this a bug of enscript?
--
Regards,
Peng