24 Apr
2014
24 Apr
'14
2:02 p.m.
On 23 Apr 2014, at 11:08, Dominic Jänichen
I was affected by bug 487 using microtype's protrusion=true. Digging around, I found that the error lies in round_xn_over_d (pdfgen.w). Please find attached a patch to correct the issue.
Applied, thank you.
Aside: I wonder whether its method to calculate still makes sense, given modern compiler optimizations. What about something along the lines of..? unsinged long long t = x * n; t = t % d; if (t > INT_MAX) arith_error = true; return (scaled) t;
Yes, the current version looks weird, but I want to keep it as-is until I have time to do a more global cleanup. Best wishes, Taco