[pdftex] font names in over/underfull box messages

The Thanh Han hanthethanh at fptnet.com.vn
Wed Feb 5 09:26:58 CET 2003


On Tue, Feb 04, 2003 at 07:44:13PM +0300, Vladimir Volovich wrote:
> Hi,
> 
> > i noticed that pdftex produces different output than standard TeX in
> > over/underfull box messages, namely the font names look differently:
> 
> here's the relevant part of pdftex.ch:
> 
> @x [267] - displaying fonts
> @<Print the font identifier for |font(p)|@>=
> print_esc(font_id_text(font(p)))
> @y
> @<Print the font identifier for |font(p)|@>=
> begin
>     print("/");
>     print(font_name[font(p)]);
>     if font_size[font(p)] <> font_dsize[font(p)] then begin
>         print("@@");
>         print_scaled(font_size[font(p)]);
>         print("pt");
>     end;
>     print("/");
> end
> @z
> 
> the question still remains - why such a decision was made?

I needed it when playing with font expansion, as expanded fonts have no
associated macro name like \tenrm at all. It caused pdftex more
incompatible with tex, yes, and I don't mind removing this. Still, I think
cmr10 is more meaningful than \tenrm or something similar.

Regards,
Thanh


More information about the pdftex mailing list