summaryrefslogtreecommitdiff
path: root/bk_pdf.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2006-12-02 16:33:22 +0000
committerBen Harris <bjh21@bjh21.me.uk>2006-12-02 16:33:22 +0000
commitd44e392ccd1fa91c1bd8453c5d4ac375dc9abd70 (patch)
treedad99fb7107a878875274b375131cc8bb9bd9600 /bk_pdf.c
parent7b5ed7263f67f24fca86b6b84eb2b97d71119af7 (diff)
downloadhalibut-d44e392ccd1fa91c1bd8453c5d4ac375dc9abd70.zip
halibut-d44e392ccd1fa91c1bd8453c5d4ac375dc9abd70.tar.gz
halibut-d44e392ccd1fa91c1bd8453c5d4ac375dc9abd70.tar.bz2
halibut-d44e392ccd1fa91c1bd8453c5d4ac375dc9abd70.tar.xz
Support for emitting outlines using pdfmark.
[originally from svn r6952]
Diffstat (limited to 'bk_pdf.c')
-rw-r--r--bk_pdf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 8b03ae2..ba19372 100644
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -40,7 +40,6 @@ static void pdf_string_len(void (*add)(object *, char const *),
object *, char const *, int);
static void objref(object *o, object *dest);
static void objdest(object *o, page_data *p);
-static char *pdf_outline_convert(wchar_t *s, int *len);
static int is_std_font(char const *name);
@@ -725,7 +724,7 @@ static void make_pages_node(object *node, object *parent, page_data *first,
* encodes in either PDFDocEncoding (a custom superset of
* ISO-8859-1) or UTF-16BE.
*/
-static char *pdf_outline_convert(wchar_t *s, int *len) {
+char *pdf_outline_convert(wchar_t *s, int *len) {
char *ret;
ret = utoa_careful_dup(s, CS_PDF);