diff -Nuar a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c --- a/lib/gvc/gvdevice.c 2024-10-30 13:43:39.184606090 +0300 +++ b/lib/gvc/gvdevice.c 2024-10-30 13:57:56.321007544 +0300 @@ -347,7 +347,7 @@ z->avail_in = 0; z->next_out = df; z->avail_out = dfallocated; - while ((ret = deflate (z, Z_FINISH)) == Z_OK && (cnt++ <= 100)) { + while ((ret = deflate (z, Z_FINISH)) == Z_OK) { gvwrite_no_z(job, df, (size_t)(z->next_out - df)); z->next_out = df; z->avail_out = dfallocated;