diff options
author | Tor Andersson <tor@ghostscript.com> | 2011-02-03 10:38:01 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2011-02-03 10:38:01 +0000 |
commit | 8355256a0fa6eedaa02a4e7b8ba3c2dbd58fe567 (patch) | |
tree | 5b3ffc94c327ff1a2eafbff99240644f621d29aa /fitz/dev_text.c | |
parent | b9d32b1d76e298db1eaa7f42bf14c67496a5804d (diff) | |
download | mupdf-8355256a0fa6eedaa02a4e7b8ba3c2dbd58fe567.tar.xz |
Various patches from SumatraPDF.
Diffstat (limited to 'fitz/dev_text.c')
-rw-r--r-- | fitz/dev_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/dev_text.c b/fitz/dev_text.c index 806fa40c..8f22cfd1 100644 --- a/fitz/dev_text.c +++ b/fitz/dev_text.c @@ -98,7 +98,7 @@ fz_addtextchar(fz_textspan **last, fz_font *font, float size, int wmode, int c, span->size = size; } - if (span->font != font || span->size != size || span->wmode != wmode) + if ((span->font != font || span->size != size || span->wmode != wmode) && c != 32) { span = fz_newtextspan(); span->font = fz_keepfont(font); |