Bug 66393 - "a2ps -X koi8-r" prints empty space instead of the ~ (tilde) symbol
Summary: "a2ps -X koi8-r" prints empty space instead of the ~ (tilde) symbol
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: a2ps
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-09 22:31 UTC by Aleksey Nogin
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-06-21 13:30:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Aleksey Nogin 2002-06-09 22:31:23 UTC
Reproducible: always.

To reproduce : create an arbitrary tetx file containing a ~ symbol and run a2ps
on it with -X koi8-r option.

Expected: some ~-like symbol in the output
Actual: empty space instead of it.

As far as I understand it, the problem comes from the fact that
/usr/share/a2ps/encoding/koi8.edf specify using "tilde" for ~ while the fonts
that are used for Cyrillics output only have "asciitilde", but no "tilde". And
indeed, replacing "tilde" with "asciitilde" in koi8.edf solves the problem,
although I have no idea whether this is a reasonable solution or an ugly hack...

Comment 1 Tim Waugh 2002-06-21 13:30:41 UTC
Looks reasonable to me.  Fixed in a2ps-4.13b-22.  Thanks.


Note You need to log in before you can comment on or make changes to this bug.