[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users 00823] mgp2ps bugfix and suggestion
- To: mgp@mew.org
- Subject: [mgp-users 00823] mgp2ps bugfix and suggestion
- From: Christoph Dalitz <christoph.dalitz@hs-niederrhein.de>
- Date: Wed, 3 Apr 2002 10:43:43 +0200
- Cc: mgp-users@mew.org
- Delivered-to: mailing list mgp-users@mew.org
- Mailing-list: contact mgp-users-help@mew.org; run by ezmlm
- Organization: FH Niederrhein
Dear mgp devellopers,
here is a small bugfix and a suggestion for mgp2ps:
1) mgp2ps 1.09a prints an "EPSF" marker in the very first
line of the PS output. This must be omitted because
multi page EPSF files are not allowed. When such a file
is printed via Aladdin Ghostscript, all pages are collapsed
into one page.
2) Vertical space between lines in the PS output is unequal;
consider eg. the example below.
The problem is that the vertical space is calculated from
the text outline (macro /calcy). This should be altered
so that calcy returns
a) a value only dependant from the font size
b) the image size, if it is greater
In the mentime the following quick and dirty workaround
is possible:
$ mgp2ps infile.mgp | sed 's/([^)]*) calcy/(Q) calcy/'
Any comments?
Christoph Dalitz
-- example for odd vertical spacing --------------------------------------
%page
Vertical spacing in mgp2ps
The following poem has odd vertical spacing
in the postscript output of mgp2ps:
The sun may set and rise
but we contrariwise
sleep after our short light
one everlasting night.