summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-04-06 09:04:05 +0200
committerTor Andersson <tor@ghostscript.com>2005-04-06 09:04:05 +0200
commit593551cdddc96a9f74a1372852594d6ff3f7ed0d (patch)
treee02224010ea6aa378d59a905a82581c9c1fb8567 /include
parent0ba6f06f3e2cebf7cf519ce38dc8fdfe34734603 (diff)
downloadmupdf-593551cdddc96a9f74a1372852594d6ff3f7ed0d.tar.xz
add height field to extracted textlines
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/page.h1
-rw-r--r--include/mupdf/syntax.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/page.h b/include/mupdf/page.h
index bf14dca2..4304fa22 100644
--- a/include/mupdf/page.h
+++ b/include/mupdf/page.h
@@ -32,6 +32,7 @@ struct pdf_textchar_s
struct pdf_textline_s
{
+ fz_point height;
int len, cap;
pdf_textchar *text;
pdf_textline *next;
diff --git a/include/mupdf/syntax.h b/include/mupdf/syntax.h
index 54eafa9e..87fc946a 100644
--- a/include/mupdf/syntax.h
+++ b/include/mupdf/syntax.h
@@ -28,6 +28,7 @@ fz_error *pdf_parseindobj(fz_obj **op, fz_file *f, char *buf, int cap, int *oid,
fz_rect pdf_torect(fz_obj *array);
fz_matrix pdf_tomatrix(fz_obj *array);
fz_error *pdf_toutf8(char **dstp, fz_obj *src);
+fz_error *pdf_toucs2(unsigned short **dstp, fz_obj *src);
/*
* Encryption