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

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Fri Dec 20 20:28:08 CET 2002


> 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]

Please increase T1_BUF_SIZE in writet1.c like
#define T1_BUF_SIZE 8192 --->
#define T1_BUF_SIZE 0x4000

My local dvipsk 5.92a uses default value of T1_BUF_SIZE 0x6000,
and has an option -L # Length of writet1 buffer (24KB),
but the option is rarely used. T1_BUF_SIZE 0x4000 will be
ok for almost all cases.

Akira



More information about the pdftex mailing list