Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2426)

Unified Diff: core/include/fpdfapi/fpdf_resource.h

Issue 656463006: Fix off-by-one in sizing of m_EmbeddedToUnicodes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: g_Charset explicitly sized. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_font/font_int.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fpdfapi/fpdf_resource.h
diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h
index 937024c94eb2ee3c2b7b80c5cbd67bbdef70e907..7bad01501a2b2495cb7268cda8080447dd0f92ab 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:
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_font/font_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698