[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:

> Hi,
>
> 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.
>>
>> Akira
>>
>
> 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()));


​Regards,
Thanh​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pdftex/attachments/20160716/e5838445/attachment-0001.html>


More information about the pdftex mailing list