diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-04-24 20:36:46 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-04-24 20:36:46 +0200 |
commit | 7884b0e64811d129986e25da898debfa1e0aa2e8 (patch) | |
tree | 623a98d2443189792b94e52c626969175ecdf864 /apps/pdfdraw.c | |
parent | 6c9882818e4afc1502c6200f082794811d394b1c (diff) | |
download | mupdf-7884b0e64811d129986e25da898debfa1e0aa2e8.tar.xz |
Add font and font size information to text spans.
Diffstat (limited to 'apps/pdfdraw.c')
-rw-r--r-- | apps/pdfdraw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c index f2c80b4e..b65341d2 100644 --- a/apps/pdfdraw.c +++ b/apps/pdfdraw.c @@ -293,11 +293,12 @@ static void drawtxt(int pagenum) if (error) die(error); + fz_freedevice(dev); + printf("[Page %d]\n", pagenum); fz_debugtextspan(text); printf("\n"); - fz_freedevice(dev); fz_freetextspan(text); } |