home *** CD-ROM | disk | FTP | other *** search
/ jppd.dyndns.org / jppd.dyndns.org.tar / jppd.dyndns.org / QUERYPRO / Actualizar / Impressora_PDF / converter.exe / GPLGS / pfbtopfa.ps < prev    next >
Text File  |  2002-02-22  |  1KB  |  35 lines

  1. %    Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
  2. % This software is provided AS-IS with no warranty, either express or
  3. % implied.
  4. % This software is distributed under license and may not be copied,
  5. % modified or distributed except as expressly authorized under the terms
  6. % of the license contained in the file LICENSE in this distribution.
  7. % For more information about licensing, please refer to
  8. % http://www.ghostscript.com/licensing/. For information on
  9. % commercial licensing, go to http://www.artifex.com/licensing/ or
  10. % contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  11. % San Rafael, CA  94903, U.S.A., +1(415)492-9861.
  12.  
  13. % $Id: pfbtopfa.ps,v 1.4 2002/02/21 21:49:28 giles Exp $
  14. % pfbtopfa.ps
  15. % Convert a .pfb font to .pfa format.
  16.  
  17. [ shellarguments {
  18.   counttomark 2 eq {
  19.     /pfa exch def /pfb exch def pop
  20.     /in1 pfb (r) file def
  21.     /in in1 true /PFBDecode filter def
  22.     /out pfa (w) file def
  23.     { in read not { exit } if out exch write } loop
  24.     out closefile in closefile in1 closefile
  25.     quit
  26.   } {
  27.     cleartomark (Usage: pfbtopfa input.pfb output.pfa) = flush
  28.   } ifelse
  29. } {
  30.   pop
  31. } ifelse
  32.