![](https://secure.gravatar.com/avatar/1058c5aefa3802978e05193b3eb09fac.jpg?s=120&d=mm&r=g)
Hi, yes this seems to be the right cause of the bug. I was silent because I cannot reproduce the bug with the test file sent by Werner. The previous case seems irrelevant, as font_used[f] is already checked inside pdf_begin_string, ie whenever non-virtual char is written out. Regards, Thanh On Thu, Nov 16, 2006 at 10:38:13AM +0100, Taco Hoekwater wrote:
I think I have found it from checking up your hint about font_used[] in the debugger:
The arrays vf_i_fnts[] and vf_e_fnts[] are alloc as size font_max, but their indexes can easily overflow that because a vf font can contain more than one base font.
I've added two cases of
if vf_nf>font_max then overflow("virtual fonts",font_max);
right after the two occurrences of increments of vf_nf in pdftex.web, and now I get:
! TeX capacity exceeded, sorry [virtual fonts=2000].
Cheers, Taco
_______________________________________________ ntg-pdftex mailing list ntg-pdftex@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-pdftex