diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2006-12-02 16:33:22 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2006-12-02 16:33:22 +0000 |
| commit | d44e392ccd1fa91c1bd8453c5d4ac375dc9abd70 (patch) | |
| tree | dad99fb7107a878875274b375131cc8bb9bd9600 /bk_pdf.c | |
| parent | 7b5ed7263f67f24fca86b6b84eb2b97d71119af7 (diff) | |
| download | halibut-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |