Hi Scott,

Indeed, the image was generated;)
I know a little English language.
Tired of seeing so many errors that just not going see if the image
was generated.

Thanks

Hélio
2008/2/20, Scott Spearman <[EMAIL PROTECTED]>:
> That's normal.  Unfortunately Adobe doesn't follow their own rules when it
>  comes to font embedding with Distiller (which is what made the pdf you're
>  dealing with).  Notice that it is a warning, and not an error.  The file
>  should convert ok.
>
>
>  -----Original Message-----
>  From: Hélio Barbosa [mailto:[EMAIL PROTECTED]
>  Sent: Wednesday, February 20, 2008 9:41 AM
>  To: Scott Spearman
>  Cc: [email protected]
>  Subject: Re: [magick-users] Another error delegate to the ghostscript
>
>  If I apply the command gs directly to the pdf file, one of the error
>  messages that appears is that it was not able to find the source
>  n022003l.pfb.
>
>  [code]
>  [EMAIL PROTECTED]:~/Desktop/areaDeTestes$ gs 20080214_MetroSaoPaulo.pdf
>  GPL Ghostscript 8.61 (2007-11-21)
>  Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.
>  This software comes with NO WARRANTY: see the file PUBLIC for details.
>  Processing pages 1 through 16.
>  Page 1
>  Can't find (or can't open) font file n022003l.pfb.
>  Can't find (or can't open) font file Resource/Font/NimbusMonL-Regu.
>  ....
>  [/code]
>
>  But looking at my hard disk, discovered that this file in a directory
>  any, with various other sources.
>
>  With the command gs - help, discovered the directories used by gs to
>  seek sources and discovered that the directory
>  /usr/local/share/ghostscript/fonts there, then created a symbolic link
>  to the directory which found the source to this directory defined as
>  one of the paths of spring the GS.
>
>  [code]
>  [EMAIL PROTECTED]:~$ gs --help
>  GPL Ghostscript 8.61 (2007-11-21)
>  Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.
>  Usage: gs [switches] [file1.ps file2...
>  ...
>  ...
>  Search path:
>    . : %rom%lib/ : /usr/local/share/ghostscript/8.61/lib :
>    /usr/local/share/ghostscript/8.61/Resource :
>    /usr/local/share/ghostscript/fonts :
>    /usr/local/share/fonts/default/ghostscript :
>    /usr/local/share/fonts/default/Type1 :
>    /usr/local/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
>    /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType
>  Initialization files are compiled into the executable.
>  For more information, see /usr/local/share/ghostscript/8.61/doc/Use.htm.
>  Please report bugs to bugs.ghostscript.com.
>  [EMAIL PROTECTED]:~$
>  [/code]
>
>
>  But now it is showing me another type of error:
>
>  [code]
>  [EMAIL PROTECTED]:~/Desktop/areaDeTestes$ sudo convert -verbose
>  -colorspace RGB 20080214_MetroSaoPaulo.pdf[0]  teste.jpg
>  Password:
>
>    **** Warning: Fonts with Subtype = /TrueType should be embedded.
>                  The following fonts were not embedded:
>                         Courier
>
>    **** This file had errors that were repaired or ignored.
>    **** The file was produced by:
>    **** >>>> Acrobat Distiller 7.0 for Macintosh <<<<
>    **** Please notify the author of the software that produced this
>    **** file that it does not conform to Adobe's published PDF
>    **** specification.
>
>  "gs" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE
>  -dAlignToPixels=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4
>  -dGraphicsAlphaBits=4 "-g867x1077" "-r72x72" -dFirstPage=1
>  -dLastPage=1 "-sOutputFile=/tmp/magick-XXQJ7Osn"
>  "-f/tmp/magick-XXrvuKEs" "-f/tmp/magicdOqXgi"/tmp/magick-XXQJ7Osn[0]
>  BMP 867x1077 PseudoClass 256c 3.6mb
>  /tmp/magick-XXQJ7Osn[1] BMP 867x1077 PseudoClass 256c 3.6mb
>  /tmp/magick-XXQJ7Osn[2] BMP 867x1077 PseudoClass 256c 3.6mb
>  /tmp/magick-XXQJ7Osn[3] BMP 867x1077 PseudoClass 256c 3.6mb
>  20080214_MetroSaoPaulo.pdf PDF 867x1077 867x1077+0+0 DirectClass 3.6mb
>  0.160u 0:02
>  20080214_MetroSaoPaulo.pdf PDF 867x1077 867x1077+0+0 DirectClass 3.6mb
>  20080214_MetroSaoPaulo.pdf=>teste.jpg PDF 867x1077 867x1077+0+0
>  DirectClass 518kb
>  [EMAIL PROTECTED]:~/Desktop/areaDeTestes$
>  [/code]
>
>
>
>
>  2008/2/20, Scott Spearman <[EMAIL PROTECTED]>:
>  > It looks like your installation of Ghostscript can't find the Courier
>  font.
>  >  I suggest you read the GS documentation to see how to get a listing of
>  >  available fonts, and info on how to add fonts if they're not present.
>  >
>  >  Scott.
>  >
>  >
>  >  -----Original Message-----
>  >  From: [EMAIL PROTECTED]
>  >  [mailto:[EMAIL PROTECTED] On Behalf Of Hélio Barbosa
>  >  Sent: Wednesday, February 20, 2008 7:53 AM
>  >  To: [email protected]
>  >  Subject: [magick-users] Another error delegate to the ghostscript
>  >
>  >  [EMAIL PROTECTED]:~/Desktop/areaDeTestes$ convert
>  >  20080214_MetroSaoPaulo.pdf[0] 1.jpg
>  >  Error: /invalidfont in /findfont
>  >  Operand stack:
>  >    --nostringval--   --dict:9/18(L)--   TT2   1   --dict:8/8(L)--
>  >  --dict:8/8(L)--   Courier   Courier
>  >  Execution stack:
>  >    %interp_exit   .runexec2   --nostringval--   --nostringval--
>  >  --nostringval--   2   %stopped_push   --nostringval--
>  >  --nostringval--   --nostringval--  false   1   %stopped_push   1905
>  >  1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3
>  >  %oparray_pop   --nostringval--   --nostringval--   2   1   1
>  >  --nostringval--   %for_pos_int_continue   --nostringval--
>  >  --nostringval--   --nostringval--   --nostringval--   %array_continue
>  >   --nostringval--   false   1   %stopped_push   --nostringval--
>  >  %loop_continue   --nostringval--   --nostringval--   --nostringval--
>  >  --nostringval--   --nostringval--   --nostringval--   1863   8   9
>  >  %oparray_pop
>  >  Dictionary stack:
>  >    --dict:1152/1684(ro)(G)--   --dict:2/20(G)--   --dict:75/200(L)--
>  >  --dict:75/200(L)--   --dict:107/127(ro)(G)--   --dict:275/300(ro)(G)--
>  >   --dict:22/25(L)--   --dict:4/6(L)--   --dict:26/40(L)--
>  >  Current allocation mode is local
>  >  Last OS error: 2
>  >  GPL Ghostscript 8.61: Unrecoverable error, exit code 1
>  >  convert: Postscript delegate failed `20080214_MetroSaoPaulo.pdf'.
>  >
>  >
>  >  [EMAIL PROTECTED]:~/Desktop/areaDeTestes$ convert --version
>  >  Version: ImageMagick 6.2.4 10/02/07 Q16 http://www.imagemagick.org
>  >  Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
>  >
>  >  [EMAIL PROTECTED]:~$ gs --version
>  >  8.61
>  >
>  >  Thanks,
>  >  Hélio
>  >
>  >
>  > _______________________________________________
>  >  Magick-users mailing list
>  >  [email protected]
>  >  http://studio.imagemagick.org/mailman/listinfo/magick-users
>  >
>  >
>
>

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to