Bug 11129

Summary: a2ps fails on graphics files and misses its fonts
Product: [Retired] Red Hat Powertools Reporter: michal
Component: a2psAssignee: Tim Powers <timp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-19 21:22:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
collection of patches to a2ps none

Description michal 2000-04-30 16:04:38 UTC
There are two problems with a2ps (a2ps-4.12-7 is in Powertools 6.2).

One is that all flex generated scanners use REJECT - needed or not.
Not only that makes them slower but with every less then trivial
graphics file fed to a2ps one sees:
"input buffer overflow, can't enlarge buffer because scanner uses REJECT"
and a2ps fails.

The other problem is that 'configure' script has a hardcoded list
of font directories and this list does not cover any likely place where
some fonts can be found.

Attached are patches for both afflictions.  They are agaist 4.13
sources but this does not matter.  The same problems exists for
both versions.

  Michal Jaegermann,
  michal

Comment 1 michal 2000-04-30 16:06:59 UTC
Created attachment 220 [details]
collection of patches to a2ps

Comment 2 Tim Powers 2000-06-19 21:22:49 UTC
OK. Patches are applied and changes to the spec file have been made. Look for
4.13-4 in rawhide.

Tim