IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2010-08-29 20:08:03 (13 years 6 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | a1c5386236f766aef2592bdb6bc5a5904f1c9331 |
Message: | Schematics sheets are now scaled and shifted (may still need some
tuning) - scripts/gitsch2ppm (ps2ppm): shift A4 sheets northwest - scripts/gitsch2ppm (ps2ppm): shift and scale A3 and A2 sheets - scripts/gitsch2ppm (ps2ppm): remove "%%Orientation: Landscape" (for later development) |
Files: |
scripts/gitsch2ppm (1 diff) |
Change Details
scripts/gitsch2ppm | ||
---|---|---|
28 | 28 | /setlinewidth { $LINEWIDTH 2 copy lt { exch } if pop setlinewidth } bind def |
29 | 29 | /rectfill { rectstroke } bind def |
30 | 30 | EOF |
31 | sed 1d <"$1"; ) | | |
31 | sed <"$1" '1d | |
32 | /%%DocumentMedia: A4.*/a-20 -10 translate | |
33 | /%%DocumentMedia: A3.*/{s/A3/A4/;a-20 -10 translate 0.70 dup scale | |
34 | } | |
35 | /%%DocumentMedia: A2.*/{s/A2/A4/;a-18 -12 translate 0.49 dup scale | |
36 | } | |
37 | /%%Orientation: Landscape/d'; ) | | |
32 | 38 | gs -sDEVICE=ppmraw -sOutputFile=- -g$IRES -r$res \ |
33 | 39 | -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -q - | |
34 | 40 | pnmflip -r270 | |