summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-05-10 15:12:41 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-05-11 11:39:16 +0100
commit3f8bdf3f2cc8d536d57bd9c31932c6e2b310c618 (patch)
tree739dbb14afe0deaa4fd6c11851afe1332a5c397b
parenta1a95d63a8e47b9fb56427df3a214c6ee1695d04 (diff)
downloadghostpdl-3f8bdf3f2cc8d536d57bd9c31932c6e2b310c618.tar.gz
PS fonts: real numbers can start with a "."
-rw-r--r--pdf/pdf_fontps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_fontps.c b/pdf/pdf_fontps.c
index 47e313bf8..82173f4bf 100644
--- a/pdf/pdf_fontps.c
+++ b/pdf/pdf_fontps.c
@@ -273,6 +273,7 @@ pdfi_pscript_interpret(pdf_ps_ctx_t *cs, byte *pdfpsbuf, int64_t buflen)
arraydepth = 0;
}
break;
+ case '.':
case '-':
case '+':
case '0':