Re: pdftex core dump when including certain pdf files
The Thanh Han <[email protected]>
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <CAESt4O_dbOzWjhSbOkersBcyCcHoi-fD=XngQX2-GkuMT7SWgQ@mail.gmail.com> |
On 16 July 2016 at 12:49, The Thanh Han <[email protected]> wrote: > 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. > > > sorry, I meant: fd = epdf_create_fontdescriptor(fontmap, round(stemV->getNum())); Regards, Thanh