ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: scarso luigi <scarsoluigi@libero.it>
Subject: Re: Error: /undefined in NP
Date: 28 Mar 2003 08:41:41 +0100	[thread overview]
Message-ID: <1048837301.7694.52.camel@luigis.logo.net> (raw)
In-Reply-To: <20030326150439.2c6edaee.morawski@gmx.net>


> the whole format looks very strange to me, what about
> 
> texnansi-raw-hum521b Humanist521BT-Bold "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <hum521b.pfb 
> 
> 
> Jens


It's a line from file texnansi-bitstrea-humanist.map generated by texfont (texfont --help;
see also mtexfont.pdf, mfonts.pdf and pdftex-a.pdf)
This line say, among others, that only glyphs from font hum521b.pfb (a
Type1 font) used by  A.pdf document must be include into A.pdf (partial
inclusion).
Until now, I haven't found any problem with xpdf and acroread, but
postpocressing with gs sometimes fails, because some glyphs  seems to
call an instructions (NP) which definitions is not included.
Hence with
texnansi-raw-hum521b Humanist521BT-Bold "TeXnANSIEncoding ReEncodeFont"
<texnansi.enc <<hum521b.pfb 
we include all glyphs (complete inclusion), even unsed ones, and NP now
is not more undefined (for gs) 

By the way,if A.pdf has a partial inclusion and  we print on file A.ps
with acroread and then reconvert to A1.pdf with gs, A1.pdf semm to be ok
(but you loose interactivity)

I find at
http://www.tug.org/pipermail/pdftex/2002-October/003067.html
a mail about the same problems with pdflatex and I find the following
<<
"The PDF file is incorrect. It includes a subsed of /CharterBT-
Roman font that uses NP procedure but doesn't define it in
the font header."
>>

and in 
http://www.ghostscript.com/pipermail/gs-devel/2002-October/002043.html
I find the following
<<
#616539 - USER - gs fails for pdflatex generated document
assigned: alexcher
If a PDF document generated by pdflatex contains some special
combinations of 
type1 fonts, gs fails with "Error: /undefined in NP" while acroread and
xpdf have no problems to display the document. Alex determined that the
PDF file is invalid, and that it includes a subsed of /CharterBT-Roman
font that uses NP procedure but doesn't define it in the font header. 
Should we close the bug?
>>

I'm sure that it's not a complete explanations, but I have to study the
Adobe manual on Type1 fonts and encodings , and time is not on my
side....

luigi

      reply	other threads:[~2003-03-28  7:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25  8:46 Re[2]: Backgrounds Hans Hagen
2003-03-25 10:43 ` Re[3]: Backgrounds Giuseppe Bilotta
2003-03-25 12:25   ` Hans Hagen
2003-03-25 14:36     ` Re[4]: Backgrounds Giuseppe Bilotta
2003-03-25 15:18       ` Hans Hagen
2003-03-25 17:00         ` Re[5]: Backgrounds Giuseppe Bilotta
2003-04-09 14:52       ` Backgrounds Patrick Gundlach
2003-04-09 16:57         ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-10  9:50           ` Backgrounds Patrick Gundlach
2003-04-10 11:43             ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-18 14:33             ` Backgrounds Johannes Hüsing
2003-04-18 14:36               ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-19 13:35               ` Backgrounds Patrick Gundlach
2003-04-10 20:00           ` Re[2]: Backgrounds Hans Hagen
2003-04-11 13:35             ` Re[3]: Backgrounds Giuseppe Bilotta
2003-04-11 16:02               ` Hans Hagen
2003-04-11 16:21                 ` Backgrounds Patrick Gundlach
2003-04-11 17:15                 ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-11 17:40                 ` Re[3]: Backgrounds John Culleton
2003-04-13 23:06                 ` supp-emp.tex \EMlinewd Hartmut Henkel
2003-04-14  6:48                   ` Hans Hagen
2003-04-18 14:41                 ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-19 10:42                   ` Hans Hagen
2003-04-19 12:10                     ` Re[5]: Backgrounds Giuseppe Bilotta
2003-04-21 11:13                       ` Hans Hagen
2003-04-21 18:33                         ` Re[6]: Backgrounds Giuseppe Bilotta
2003-03-25 18:00   ` Error: /undefined in NP scarso luigi
2003-03-26 12:55     ` scarso luigi
2003-03-26 14:04       ` Jens-Uwe Morawski
2003-03-28  7:41         ` scarso luigi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1048837301.7694.52.camel@luigis.logo.net \
    --to=scarsoluigi@libero.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).