Support for emitting outlines using pdfmark.
[sgt/halibut] / bk_pdf.c
index 8b03ae2..ba19372 100644 (file)
--- 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);