diff options
Diffstat (limited to 'pdf/pdf_annot.c')
-rw-r--r-- | pdf/pdf_annot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_annot.c b/pdf/pdf_annot.c index ecb4824a..2fc9d7bb 100644 --- a/pdf/pdf_annot.c +++ b/pdf/pdf_annot.c @@ -168,6 +168,7 @@ pdf_transform_annot(pdf_annot *annot) h = (rect.y1 - rect.y0) / (bbox.y1 - bbox.y0); x = rect.x0 - bbox.x0; y = rect.y0 - bbox.y0; + annot->matrix = fz_concat(fz_scale(w, h), fz_translate(x, y)); } |