diff options
Diffstat (limited to 'source/pdf')
-rw-r--r-- | source/pdf/pdf-annot.c | 4 | ||||
-rw-r--r-- | source/pdf/pdf-appearance.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/pdf/pdf-annot.c b/source/pdf/pdf-annot.c index b265d9d9..b53beeb2 100644 --- a/source/pdf/pdf-annot.c +++ b/source/pdf/pdf-annot.c @@ -393,7 +393,7 @@ pdf_set_annot_rect(fz_context *ctx, pdf_annot *annot, const fz_rect *rect) } const char * -pdf_get_annot_contents(fz_context *ctx, pdf_annot *annot) +pdf_annot_contents(fz_context *ctx, pdf_annot *annot) { return pdf_dict_get_text_string(ctx, annot->obj, PDF_NAME(Contents)); } @@ -1398,7 +1398,7 @@ pdf_annot_has_author(fz_context *ctx, pdf_annot *annot) } const char * -pdf_get_annot_author(fz_context *ctx, pdf_annot *annot) +pdf_annot_author(fz_context *ctx, pdf_annot *annot) { check_allowed_subtypes(ctx, annot, PDF_NAME(T), markup_subtypes); return pdf_dict_get_text_string(ctx, annot->obj, PDF_NAME(T)); diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index b80b2764..e936bbb0 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -955,7 +955,7 @@ pdf_write_free_text_appearance(fz_context *ctx, pdf_annot *annot, fz_buffer *buf int q, r; /* /Rotate is an undocumented annotation property supported by Adobe */ - text = pdf_get_annot_contents(ctx, annot); + text = pdf_annot_contents(ctx, annot); r = pdf_dict_get_int(ctx, annot->obj, PDF_NAME(Rotate)); q = pdf_annot_quadding(ctx, annot); pdf_annot_default_appearance(ctx, annot, &font, &size, color); |