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 "../fxcrt/fx_system.h" | 10 #include "../fxcrt/fx_system.h" |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
460 FX_DWORD _CharCodeFromUnicode(FX_WCHAR Unicode) const override; | 460 FX_DWORD _CharCodeFromUnicode(FX_WCHAR Unicode) const override; |
461 int GetGlyphIndex(FX_DWORD unicodeb, FX_BOOL* pVertGlyph); | 461 int GetGlyphIndex(FX_DWORD unicodeb, FX_BOOL* pVertGlyph); |
462 void LoadMetricsArray(CPDF_Array* pArray, | 462 void LoadMetricsArray(CPDF_Array* pArray, |
463 CFX_DWordArray& result, | 463 CFX_DWordArray& result, |
464 int nElements); | 464 int nElements); |
465 void LoadSubstFont(); | 465 void LoadSubstFont(); |
466 | 466 |
467 CPDF_CMap* m_pCMap; | 467 CPDF_CMap* m_pCMap; |
468 CPDF_CMap* m_pAllocatedCMap; | 468 CPDF_CMap* m_pAllocatedCMap; |
469 CPDF_CID2UnicodeMap* m_pCID2UnicodeMap; | 469 CPDF_CID2UnicodeMap* m_pCID2UnicodeMap; |
470 int m_Charset; | 470 size_t m_Charset; |
Tom Sepez
2015/09/25 16:06:37
Can we make this an enum? CS shows we later do th
| |
471 FX_BOOL m_bType1; | 471 FX_BOOL m_bType1; |
472 CPDF_StreamAcc* m_pCIDToGIDMap; | 472 CPDF_StreamAcc* m_pCIDToGIDMap; |
473 FX_BOOL m_bCIDIsGID; | 473 FX_BOOL m_bCIDIsGID; |
474 FX_WORD m_DefaultWidth; | 474 FX_WORD m_DefaultWidth; |
475 FX_WORD* m_pAnsiWidths; | 475 FX_WORD* m_pAnsiWidths; |
476 FX_SMALL_RECT m_CharBBox[256]; | 476 FX_SMALL_RECT m_CharBBox[256]; |
477 CFX_DWordArray m_WidthList; | 477 CFX_DWordArray m_WidthList; |
478 short m_DefaultVY; | 478 short m_DefaultVY; |
479 short m_DefaultW1; | 479 short m_DefaultW1; |
480 CFX_DWordArray m_VertMetrics; | 480 CFX_DWordArray m_VertMetrics; |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
833 | 833 |
834 FX_BOOL m_bInterpolate; | 834 FX_BOOL m_bInterpolate; |
835 | 835 |
836 CPDF_Document* m_pDocument; | 836 CPDF_Document* m_pDocument; |
837 | 837 |
838 CPDF_Dictionary* m_pOC; | 838 CPDF_Dictionary* m_pOC; |
839 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); | 839 CPDF_Dictionary* InitJPEG(uint8_t* pData, FX_DWORD size); |
840 }; | 840 }; |
841 | 841 |
842 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ | 842 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RESOURCE_H_ |
OLD | NEW |