summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-appearance.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c
index 8c2c85bf..53fe3627 100644
--- a/source/pdf/pdf-appearance.c
+++ b/source/pdf/pdf-appearance.c
@@ -127,6 +127,11 @@ void pdf_parse_da(fz_context *ctx, char *da, pdf_da_info *di)
di->col[2] = stack[2];
di->col_size = 3;
}
+ else if (!strcmp(lbuf.scratch, "g"))
+ {
+ di->col[0] = stack[0];
+ di->col_size = 1;
+ }
fz_free(ctx, name);
name = NULL;