git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb549d
)
range checking.
author
kramm
<kramm>
Mon, 27 May 2002 16:26:56 +0000
(16:26 +0000)
committer
kramm
<kramm>
Mon, 27 May 2002 16:26:56 +0000
(16:26 +0000)
pdf2swf/xpdf/GfxFont.h
patch
|
blob
|
history
diff --git
a/pdf2swf/xpdf/GfxFont.h
b/pdf2swf/xpdf/GfxFont.h
index
c67ac29
..
edd26e5
100644
(file)
--- a/
pdf2swf/xpdf/GfxFont.h
+++ b/
pdf2swf/xpdf/GfxFont.h
@@
-198,7
+198,7
@@
public:
CharCodeToUnicode *getToUnicode();
// Return the character name associated with <code>.
- char *getCharName(int code) { return enc[code]; }
+ char *getCharName(int code) { return code>=256?0:enc[code]; }
// Returns true if the PDF font specified an encoding.
GBool getHasEncoding() { return hasEncoding; }