[pdftex] Re: (fwd) dvips/pdftex: font / buffer overflow

Hartmut Henkel hartmut_henkel at gmx.de
Mon Dec 16 19:51:29 CET 2002


The point is, that you can obviously do things with `a' MAC or `under'
WIN, which you cannot do with `TeX', just due to such a minor
limitation.

One has to admit, that this chrimbobat font (legally) stretches the idea
of a `font' to its limits. It would better be an assortment of .eps
files. But still it has a letter (m) made by Erik Spiekermann, so it got
its blessings from a top-notch typographer :-)

If one increases this parameter T1_BUF_SIZE to 16384, it might work
well---maybe until christmas '03...

Greetings Hartmut


On Mon, 16 Dec 2002, Thomas Esser wrote:

> Hi Tom + pdftex list,
>
> a question with follow-up from Hartmut Henkel:
>
> Thomas
>
> --
> Date: Sun, 15 Dec 2002 22:30:02 +0100 (CET)
> From: Hartmut Henkel <hartmut_henkel at gmx.de>
> To: tetex at informatik.uni-hannover.de
> Subject: dvips/pdftex: font / buffer overflow
>
> There is a free christmas font Chrimbobat (www.fontmonster.co.uk). After
> making a myfonts.map file, the font could be included into TeX text, e.
> g. by \font \chrim chrimbob at 100pt \chrim m \bye and displayed (even
> zoomed into) with xdvi.
>
> But dvips fails:
>
> This is dvips(k) 5.92a Copyright 2002 Radical Eye
> Software (www.radicaleye.com)
> ' TeX output 2002.12.15:2220' -> x.ps
> <texc.pro><texps.pro>. <cmr10.pfb><chrimbob.pfb>
> Error: module writet1 (file chrimbob.pfb): buffer overflow [8192 bytes]
>
> And so does pdftex:
>
> This is pdfTeX, Version 3.14159-1.10a-beta-20021115 (Web2C 7.3.11)
> (./x.tex{/usr/local/teTeX/share/texmf/pdftex/config/pdftex.cfg}
> [1{/usr/local/t
> eTeX/share/texmf/dvips/config/pdftex.map}{myfonts.map}]
> )</usr/local/teTeX/shar
> e/texmf/fonts/type1/bluesky/cm/cmr10.pfb><chrimbob.pfb
> Error: pdftex (file chrimbob.pfb): buffer overflow
>  ==> Fatal error occurred, the output PDF file is not finished!
>
> Same after font conversion to .pfa.
>
> ls -l tells:
>
> -rw-rw-rw-    1 hahe     hahe       150415 12-04 09:06 chrimbob.pfb
>
> Which buffer is this? Is this a web2c feature? Can the buffer be
> increased?
>
> Greetings Hartmut
>
> --
> Date: Mon, 16 Dec 2002 00:12:42 +0100 (CET)
> From: Hartmut Henkel <hartmut_henkel at gmx.de>
> To: tetex at informatik.uni-hannover.de
> Subject: Re: dvips/pdftex: font / buffer overflow
>
> This is parameter T1_BUF_SIZE = 8192 in writet1.c, in the dvipsk and
> pdftexdir directories. It is hardcoded by #define. Used both by dvips
> and pdftex. Increasing it to 16384 in the source allows inclusion of the
> christmas font.
>
> Greetings Hartmut
>
> > Error: module writet1 (file chrimbob.pfb): buffer overflow [8192 bytes]





More information about the pdftex mailing list