Re: pdftex core dump when including certain pdf files

The Thanh Han <[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <CAESt4O9_tCvqcoN4MhC9BXszi5Fho5rUXMYQp=Mv3jvg7M4tUg@mail.gmail.com>
Hi,

On 16 July 2016 at 09:29, KAKUTO, Akira <kakuto-/k5Uodmu4m/[email protected]> 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
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.