[pdftex] pdftex core dump when including certain pdf files

The Thanh Han hanthethanh at gmail.com
Sat Jul 16 12:49:03 CEST 2016


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.


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


More information about the pdftex mailing list