summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-10-13 13:16:32 -0700
committerTom Sepez <tsepez@chromium.org>2014-10-13 13:16:32 -0700
commit9dd088033537c071725b9a61fd5b519d65ea9f13 (patch)
treed1e5227cb907ec7b043b615b0118f18852b59740 /core/include/fpdfapi
parent6cf012af4954807255ce7cdb5b92a20f74d34e6d (diff)
downloadpdfium-9dd088033537c071725b9a61fd5b519d65ea9f13.tar.xz
Fix off-by-one in sizing of m_EmbeddedToUnicodes.
BUG=421196 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/656463006
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h
index 937024c94e..7bad01501a 100644
--- a/core/include/fpdfapi/fpdf_resource.h
+++ b/core/include/fpdfapi/fpdf_resource.h
@@ -480,6 +480,8 @@ protected:
#define CIDSET_JAPAN1 3
#define CIDSET_KOREA1 4
#define CIDSET_UNICODE 5
+#define NUMBER_OF_CIDSETS 6
+
class CPDF_CIDFont : public CPDF_Font
{
public: