| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |