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

noreply at sarovar.org noreply at sarovar.org
Mon Feb 26 08:56:22 CET 2007

Bugs item #737, was opened at 2007-02-25 15:03
You can respond by visiting: 

Category: Fonts
Group: v1.40.1
Status: Open
Resolution: None
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 07:56

Logged In: YES 

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


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

Logged In: YES 

This all started in a thread on texhax:


You can respond by visiting: 

More information about the ntg-pdftex mailing list