diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-01-10 13:10:28 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-01-10 13:10:28 +0000 |
commit | 9bdd9f27ea5243115a8b2f0aa891bfdf6dfdddf1 (patch) | |
tree | d854e398fa7c3bb51d3d429ef36a0b75a7dffeb7 /Master/bin/x86_64-darwin/fixfmps | |
parent | dbd8f0679bc5e9ceaab187cc83700f4b383f81fe (diff) |
change into linked scripts
git-svn-id: svn://tug.org/texlive/trunk@21010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-darwin/fixfmps')
l---------[-rwxr-xr-x] | Master/bin/x86_64-darwin/fixfmps | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/Master/bin/x86_64-darwin/fixfmps b/Master/bin/x86_64-darwin/fixfmps index 039ac8e5a3e..1d34a8a3980 100755..120000 --- a/Master/bin/x86_64-darwin/fixfmps +++ b/Master/bin/x86_64-darwin/fixfmps @@ -1,21 +1 @@ -#!/usr/bin/env perl -# fixfmps: get conforming PostScript out of FrameMaker version 2 file -# move all FMDEFINEFONTs to start of pages -# -# Copyright (C) Angus J. C. Duggan 1991-1995 -# See file LICENSE for details. - -%fonts=(); - -while (<>) { - if (/^([0-9]+) [0-9]+ .* FMDEFINEFONT$/) { - $fonts{$1} = $_; - } elsif (/^[0-9.]+ [0-9.]+ [0-9]+ FMBEGINPAGE$/) { - print $_, join('',values(%fonts)); - } elsif (m%(.*/PageSize \[paperwidth paperheight\]put )setpagedevice(.*)%) { - print "$1pop$2\n"; - } else { - print $_; - } -} - +../../texmf/scripts/psutils/fixfmps.pl
\ No newline at end of file |