summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-op-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-op-filter.c b/source/pdf/pdf-op-filter.c
index c3f64b3f..ef8aa8be 100644
--- a/source/pdf/pdf-op-filter.c
+++ b/source/pdf/pdf-op-filter.c
@@ -588,6 +588,7 @@ filter_show_text(fz_context *ctx, pdf_filter_processor *p, pdf_obj *text)
if (!pdf_is_array(ctx, text))
return;
+ p->tos.fontdesc = fontdesc;
n = pdf_array_len(ctx, text);
skip.x = skip.y = 0;
doc = pdf_get_bound_document(ctx, text);