[NTG-pdftex] [ pdftex-Bugs-737 ] Missing pfbs lead to invalid pdf

noreply at sarovar.org noreply at sarovar.org
Mon Feb 26 11:49:35 CET 2007


Bugs item #737, was opened at 2007-02-25 16:03
You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=737&group_id=106

Category: Fonts
Group: v1.40.1
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Martin Schröder (oneiros)
Assigned to: Hartmut Henkel (hhenkel)
Summary: Missing pfbs lead to invalid pdf

Initial Comment:
Try this file:
-----------
\pdfmapline{} \nopagenumbers
\font\ugqb ugqb8r at 10pt \ugqb foo \bye
-----------
with ugqb8r.tfm in your texmf, but without the pfb.

Here is the log from pdftex:
-----------
This is pdfTeX, Version 3.141592-1.50.0-alpha-20070219
(Web2C 7.5.6)
entering extended mode
(./fonts20070225.tex [1]kpathsea: Running mktexpk
--mfmode / --bdpi 1200 --mag 1+0/1200 --dpi 1200 ugqb8r
mktexpk: don't know how to create bitmap font for ugqb8r.
kpathsea: Appending font creation commands to missfont.log.
 )

pdfTeX warning: pdftex (file ugqb8r): Font ugqb8r at
1200 not found
Output written on fonts20070225.pdf (1 page, 1018 bytes).
Transcript written on fonts20070225.log.
-----------
So a pdf is written, but it's invalid:
> pdffonts fonts20070225.pdf
-----------
name                                 type         emb
sub uni object ID
------------------------------------ ------------ ---
--- --- ---------
Error: font resource is not a dictionary
-----------
indeed the font object (#4) doesn't even exist.

pdfTeX shall not generate invalid pdfs, so in this case
it should abort.

----------------------------------------------------------------------

Comment By: The Thanh Han (hanthethanh)
Date: 2007-02-26 08:56

Message:
Logged In: YES 
user_id=710

this problem is already meantioned in bug #721. In a mail I
sent to Hartmut:

when you fix bug 721, can you please go through those
pdftex_warn's to see whether any other of them should be
changed to pdftex_fatal as well?

Personally I always vote for the approach "quit at any
problem", however from time to time somebody asked to change
an error to a warning and usually I did it without much
checking.

----------------------------------------------------------------------

Comment By: Martin Schröder (oneiros)
Date: 2007-02-25 16:18

Message:
Logged In: YES 
user_id=421

This all started in a thread on texhax:
http://tug.org/pipermail/texhax/2007-February/007916.html

----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=737&group_id=106


More information about the ntg-pdftex mailing list