| 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_CIDFONT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_FONT_CPDF_CIDFONT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_CIDFONT_H_ | 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_CIDFONT_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void LoadMetricsArray(CPDF_Array* pArray, | 67 void LoadMetricsArray(CPDF_Array* pArray, |
| 68 CFX_ArrayTemplate<uint32_t>& result, | 68 CFX_ArrayTemplate<uint32_t>& result, |
| 69 int nElements); | 69 int nElements); |
| 70 void LoadSubstFont(); | 70 void LoadSubstFont(); |
| 71 FX_WCHAR GetUnicodeFromCharCode(uint32_t charcode) const; | 71 FX_WCHAR GetUnicodeFromCharCode(uint32_t charcode) const; |
| 72 | 72 |
| 73 CPDF_CMap* m_pCMap; | 73 CPDF_CMap* m_pCMap; |
| 74 std::unique_ptr<CPDF_CMap> m_pAllocatedCMap; | 74 std::unique_ptr<CPDF_CMap> m_pAllocatedCMap; |
| 75 CPDF_CID2UnicodeMap* m_pCID2UnicodeMap; | 75 CPDF_CID2UnicodeMap* m_pCID2UnicodeMap; |
| 76 CIDSet m_Charset; | 76 CIDSet m_Charset; |
| 77 FX_BOOL m_bType1; | 77 bool m_bType1; |
| 78 FX_BOOL m_bCIDIsGID; | 78 bool m_bCIDIsGID; |
| 79 uint16_t m_DefaultWidth; | 79 uint16_t m_DefaultWidth; |
| 80 std::unique_ptr<CPDF_StreamAcc> m_pStreamAcc; | 80 std::unique_ptr<CPDF_StreamAcc> m_pStreamAcc; |
| 81 bool m_bAnsiWidthsFixed; | 81 bool m_bAnsiWidthsFixed; |
| 82 FX_SMALL_RECT m_CharBBox[256]; | 82 FX_RECT m_CharBBox[256]; |
| 83 CFX_ArrayTemplate<uint32_t> m_WidthList; | 83 CFX_ArrayTemplate<uint32_t> m_WidthList; |
| 84 short m_DefaultVY; | 84 short m_DefaultVY; |
| 85 short m_DefaultW1; | 85 short m_DefaultW1; |
| 86 CFX_ArrayTemplate<uint32_t> m_VertMetrics; | 86 CFX_ArrayTemplate<uint32_t> m_VertMetrics; |
| 87 FX_BOOL m_bAdobeCourierStd; | 87 bool m_bAdobeCourierStd; |
| 88 std::unique_ptr<CFX_CTTGSUBTable> m_pTTGSUBTable; | 88 std::unique_ptr<CFX_CTTGSUBTable> m_pTTGSUBTable; |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_CIDFONT_H_ | 91 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_CIDFONT_H_ |
| OLD | NEW |