[pdftex] pdftex core dump when including certain pdf files
The Thanh Han
hanthethanh at gmail.com
Sat Jul 16 12:52:26 CEST 2016
On 16 July 2016 at 12:49, The Thanh Han <hanthethanh at gmail.com> wrote:
> On 16 July 2016 at 09:29, KAKUTO, Akira <kakuto at fuk.kindai.ac.jp> wrote:
>> Hi Norbert,
>> > What about (int)(stemV->getNum() + 0.5) (for positive values of stemV)
>> > to get closest round integer?
>> I think that is better than mine. Thank you.
> how about
> fd = epdf_create_fontdescriptor(fontmap, round(stemV->getInt()));
> round() is a macro defined by web2c which does what it says.
sorry, I meant:
fd = epdf_create_fontdescriptor(fontmap, round(stemV->getNum()));
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pdftex