mirror of
https://github.com/AdaCore/PolyORB.git
synced 2026-02-12 13:01:15 -08:00
* full-ex.fig, xe-arch.fig, corba-arch.fig : Figures for full example, DSA architecture and CORBA architecture. * full-ex.fig.txt, xe-arch.fig.txt, corba-arch.fig.txt : ASCII versions of the previous figures. * adjustbb, corba.ssh, Makefile : Script to adjust wrong bounding box, a format for a2ps and Makefile. * naming.idl, all-srcs.ada : IDL example and all Ada sources in a chopable format. Subversion-branch: /importfromcvs/trunk Subversion-revision: 47113
19 lines
295 B
Bash
Executable File
19 lines
295 B
Bash
Executable File
#! /bin/sh
|
|
#
|
|
# Correct a buggy bounding box computation in ps2epsi
|
|
|
|
f=$1
|
|
set `psbb $f`
|
|
llx=$1
|
|
lly=$2
|
|
urx=$3
|
|
ury=$4
|
|
# Corrections
|
|
if [ "x$USER" != "xsam" ]; then
|
|
ury=`expr $ury + 20`
|
|
fi
|
|
llx=20
|
|
urx=320
|
|
sed -e "s/^%%BoundingBox.*/%%BoundingBox: $llx $lly $urx $ury/" < $f > $f.tmp
|
|
mv $f.tmp $f
|