Skip to content

Commit

Permalink
ps: each row of 1-bit image data needs to begin on a byte boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Johnson committed Sep 5, 2011
1 parent 3614892 commit d6d3825
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cairo-ps-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -2284,6 +2284,8 @@ _cairo_ps_surface_emit_image (cairo_ps_surface_t *surface,
break;
}
}
if (bit != 7)
i++;
}

if (surface->ps_level == CAIRO_PS_LEVEL_2) {
Expand Down

0 comments on commit d6d3825

Please sign in to comment.