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

Side by Side Diff: core/include/fpdfapi/fpdf_resource.h

Issue 1817283002: Make predefined character table slightly smaller. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « core/fpdfdoc/doc_basic.cpp ('k') | xfa/fxfa/app/xfa_ffbarcode.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // CPDF_SimpleFont: 337 // CPDF_SimpleFont:
338 void LoadGlyphMap() override {} 338 void LoadGlyphMap() override {}
339 339
340 int m_CharWidthL[256]; 340 int m_CharWidthL[256];
341 CPDF_Dictionary* m_pCharProcs; 341 CPDF_Dictionary* m_pCharProcs;
342 CPDF_Dictionary* m_pPageResources; 342 CPDF_Dictionary* m_pPageResources;
343 CPDF_Dictionary* m_pFontResources; 343 CPDF_Dictionary* m_pFontResources;
344 std::map<FX_DWORD, CPDF_Type3Char*> m_CacheMap; 344 std::map<FX_DWORD, CPDF_Type3Char*> m_CacheMap;
345 }; 345 };
346 346
347 enum CIDSet { 347 enum CIDSet : uint8_t {
348 CIDSET_UNKNOWN, 348 CIDSET_UNKNOWN,
349 CIDSET_GB1, 349 CIDSET_GB1,
350 CIDSET_CNS1, 350 CIDSET_CNS1,
351 CIDSET_JAPAN1, 351 CIDSET_JAPAN1,
352 CIDSET_KOREA1, 352 CIDSET_KOREA1,
353 CIDSET_UNICODE, 353 CIDSET_UNICODE,
354 CIDSET_NUM_SETS 354 CIDSET_NUM_SETS
355 }; 355 };
356 356
357 class CPDF_CIDFont : public CPDF_Font { 357 class CPDF_CIDFont : public CPDF_Font {
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 765
766 FX_BOOL m_bInterpolate; 766 FX_BOOL m_bInterpolate;
767 767
768 CPDF_Document* m_pDocument; 768 CPDF_Document* m_pDocument;
769 769
770 CPDF_Dictionary* m_pOC; 770 CPDF_Dictionary* m_pOC;
771 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); 771 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size);
772 }; 772 };
773 773
774 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ 774 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/doc_basic.cpp ('k') | xfa/fxfa/app/xfa_ffbarcode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698