From 7d37abb0dfac59895023c7fcd2de8dbb616523b1 Mon Sep 17 00:00:00 2001 From: devnibo Date: Sun, 7 Jul 2024 16:35:56 +0200 Subject: [PATCH] Update documentation --- doc/pdfio.md | 2 +- pdfio-content.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/pdfio.md b/doc/pdfio.md index 9eb71be..595de61 100644 --- a/doc/pdfio.md +++ b/doc/pdfio.md @@ -345,7 +345,7 @@ to the stream: The [PDF content helper functions](@) provide additional functions for writing specific PDF page stream commands. -When you are done writing the stream, call [`pdfioStreamCLose`](@@) to close +When you are done writing the stream, call [`pdfioStreamClose`](@@) to close both the stream and the object. diff --git a/pdfio-content.c b/pdfio-content.c index 8bb99b3..936404c 100644 --- a/pdfio-content.c +++ b/pdfio-content.c @@ -2349,7 +2349,7 @@ pdfioPageDictAddColorSpace( bool // O - `true` on success, `false` on failure pdfioPageDictAddFont( pdfio_dict_t *dict, // I - Page dictionary - const char *name, // I - Font name + const char *name, // I - Font name; must not contain spaces pdfio_obj_t *obj) // I - Font object { pdfio_dict_t *resources; // Resource dictionary