Re: pdftex core dump when including certain pdf files

"KAKUTO, Akira" <kakuto-/k5Uodmu4m/[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <CAAaQaP4=SJcX2BSB0sQi9zY+k7OiHa2DDFxZ2Gnejjh2h217Lw@mail.gmail.com>
Hi Norbert,

> Hmm, but
>         fd_entry *epdf_create_fontdescriptor(fm_entry * fm, int stemV)
> expects and int, and is then transfered into
>         fd->font_dim[STEMV_CODE].val = stemV;
> the font dim, all of which are integers.

Change of struct fd_entry_ may be dangerous.
So I think a relatively safe fix for poppler is
fd = epdf_create_fontdescriptor(fontmap, (int)stemV->getNum());
if non-integer stemV is allowed.

Best,
Akira
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.