summaryrefslogtreecommitdiff
path: root/apps/pdfapp.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-24 20:36:46 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-24 20:36:46 +0200
commit7884b0e64811d129986e25da898debfa1e0aa2e8 (patch)
tree623a98d2443189792b94e52c626969175ecdf864 /apps/pdfapp.c
parent6c9882818e4afc1502c6200f082794811d394b1c (diff)
downloadmupdf-7884b0e64811d129986e25da898debfa1e0aa2e8.tar.xz
Add font and font size information to text spans.
Diffstat (limited to 'apps/pdfapp.c')
-rw-r--r--apps/pdfapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c
index 414d44e7..ae465587 100644
--- a/apps/pdfapp.c
+++ b/apps/pdfapp.c
@@ -653,7 +653,7 @@ void pdfapp_oncopy(pdfapp_t *app, unsigned short *ucsbuf, int ucslen)
}
}
- if (seen)
+ if (seen && span->eol)
{
#ifdef _WIN32
if (p < ucslen - 1)