| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_ | 7 #ifndef CORE_FPDFAPI_FONT_CPDF_TYPE3FONT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_ | 8 #define CORE_FPDFAPI_FONT_CPDF_TYPE3FONT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "core/fpdfapi/fpdf_font/cpdf_simplefont.h" | 13 #include "core/fpdfapi/font/cpdf_simplefont.h" |
| 14 #include "core/fxcrt/fx_coordinates.h" | 14 #include "core/fxcrt/fx_coordinates.h" |
| 15 #include "core/fxcrt/fx_system.h" | 15 #include "core/fxcrt/fx_system.h" |
| 16 | 16 |
| 17 class CPDF_Dictionary; | 17 class CPDF_Dictionary; |
| 18 class CPDF_Type3Char; | 18 class CPDF_Type3Char; |
| 19 | 19 |
| 20 class CPDF_Type3Font : public CPDF_SimpleFont { | 20 class CPDF_Type3Font : public CPDF_SimpleFont { |
| 21 public: | 21 public: |
| 22 CPDF_Type3Font(); | 22 CPDF_Type3Font(); |
| 23 ~CPDF_Type3Font() override; | 23 ~CPDF_Type3Font() override; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 49 | 49 |
| 50 int m_CharWidthL[256]; | 50 int m_CharWidthL[256]; |
| 51 CPDF_Dictionary* m_pCharProcs; | 51 CPDF_Dictionary* m_pCharProcs; |
| 52 CPDF_Dictionary* m_pPageResources; | 52 CPDF_Dictionary* m_pPageResources; |
| 53 CPDF_Dictionary* m_pFontResources; | 53 CPDF_Dictionary* m_pFontResources; |
| 54 std::map<uint32_t, std::unique_ptr<CPDF_Type3Char>> m_CacheMap; | 54 std::map<uint32_t, std::unique_ptr<CPDF_Type3Char>> m_CacheMap; |
| 55 // The depth char loading is in, to avoid recurive calling LoadChar(). | 55 // The depth char loading is in, to avoid recurive calling LoadChar(). |
| 56 int m_CharLoadingDepth; | 56 int m_CharLoadingDepth; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_ | 59 #endif // CORE_FPDFAPI_FONT_CPDF_TYPE3FONT_H_ |
| OLD | NEW |