[pdftex] pdftex core dump when including certain pdf files

Norbert Preining preining at logic.at
Sat Jul 16 03:56:05 CEST 2016


Hi Akira,

> fd = epdf_create_fontdescriptor(fontmap, (int)stemV->getNum());
> if non-integer stemV is allowed.

What about (int)(stemV->getNum() + 0.5) (for positive values of stemV)
to get closest round integer?

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13    fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13


More information about the pdftex mailing list