https://bugzilla.redhat.com/show_bug.cgi?id=990228
--- Comment #1 from Tim Waugh twaugh@redhat.com --- Created attachment 780728 --> https://bugzilla.redhat.com/attachment.cgi?id=780728&action=edit replacement paps-fix-tab-width.patch
Here's a replacement for paps-fix-tab-width.patch which undoes the breakage, although the output doesn't exactly look great.
Interdiff:
--- b/src/libpaps.c +++ b/src/libpaps.c @@ -448,9 +448,9 @@
if (paps->cpi > 0.0L) { - int n = geometry.width / avg_width; + double n = ((double)geometry.width) / avg_width;
- x_pos += ((double)n) * (1 / paps->cpi * 72.0); + x_pos += n * (1 / paps->cpi * 72.0); } else {