[pdftex] gs warning: Warning: Encoding not present.

Reinhard Kotucha reinhard.kotucha at web.de
Sun Apr 15 00:05:43 CEST 2007


>>>>> "Hartmut" == Hartmut Henkel <hartmut_henkel at gmx.de> writes:


  > it looks as if gs searches for the /Encoding key (see file
  > pdf_font.ps within gs sources) in the /Font object within the PDF
  > file and doesn't find it (it's optional according to the PDF
  > Ref.). Maybe it should better check the TTF font for the encoding,
  > but it seems that this doesn't happen. As an experiment: one gets
  > rid of the gs warning if one manipulates a fake

  > /Encoding << /Differences [] >>

  > into the /Font object.

Unfortunately I don't have 8.56 installed yet but I'll do it soon.  The
file generated by gs-8.54 on Linux seems to be ok.

	http://ms25.ath.cx/palatinox2.pdf

$ gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=palatinox2.pdf -fpalatinox.pdf
GPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2006 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
WARNING: /Unicode /Decoding resource is not accessible but it is useful for generating ToUnicode CMap.
Processing pages 1 through 1.
Page 1
$

Maybe it helps to install an older version of gs.  But I do not
recommend to switch to 8.54.  This is much more unstable than 8.51.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------



More information about the pdftex mailing list