| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 virtual FX_BOOL Load() = 0; | 160 virtual FX_BOOL Load() = 0; |
| 161 | 161 |
| 162 FX_BOOL Initialize(); | 162 FX_BOOL Initialize(); |
| 163 void LoadUnicodeMap(); | 163 void LoadUnicodeMap(); |
| 164 void LoadPDFEncoding(CPDF_Object* pEncoding, | 164 void LoadPDFEncoding(CPDF_Object* pEncoding, |
| 165 int& iBaseEncoding, | 165 int& iBaseEncoding, |
| 166 CFX_ByteString*& pCharNames, | 166 CFX_ByteString*& pCharNames, |
| 167 FX_BOOL bEmbedded, | 167 FX_BOOL bEmbedded, |
| 168 FX_BOOL bTrueType); | 168 FX_BOOL bTrueType); |
| 169 void LoadFontDescriptor(CPDF_Dictionary*); | 169 void LoadFontDescriptor(CPDF_Dictionary* pDict); |
| 170 void CheckFontMetrics(); | 170 void CheckFontMetrics(); |
| 171 | 171 |
| 172 CFX_ByteString m_BaseFont; | 172 CFX_ByteString m_BaseFont; |
| 173 CPDF_StreamAcc* m_pFontFile; | 173 CPDF_StreamAcc* m_pFontFile; |
| 174 CPDF_Dictionary* m_pFontDict; | 174 CPDF_Dictionary* m_pFontDict; |
| 175 CPDF_ToUnicodeMap* m_pToUnicodeMap; | 175 CPDF_ToUnicodeMap* m_pToUnicodeMap; |
| 176 FX_BOOL m_bToUnicodeLoaded; | 176 FX_BOOL m_bToUnicodeLoaded; |
| 177 int m_Flags; | 177 int m_Flags; |
| 178 FX_RECT m_FontBBox; | 178 FX_RECT m_FontBBox; |
| 179 int m_StemV; | 179 int m_StemV; |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 | 778 |
| 779 FX_BOOL m_bInterpolate; | 779 FX_BOOL m_bInterpolate; |
| 780 | 780 |
| 781 CPDF_Document* m_pDocument; | 781 CPDF_Document* m_pDocument; |
| 782 | 782 |
| 783 CPDF_Dictionary* m_pOC; | 783 CPDF_Dictionary* m_pOC; |
| 784 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); | 784 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); |
| 785 }; | 785 }; |
| 786 | 786 |
| 787 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ | 787 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ |
| OLD | NEW |