Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1231)

Side by Side Diff: core/fpdfapi/fpdf_font/cpdf_type3font.h

Issue 2368693002: Remove FX_BOOL from cpdf_font (Closed)
Patch Set: And again Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_FPDF_FONT_CPDF_TYPE3FONT_H_
8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_ 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 24 matching lines...) Expand all
35 CPDF_Type3Char* LoadChar(uint32_t charcode, int level = 0); 35 CPDF_Type3Char* LoadChar(uint32_t charcode, int level = 0);
36 void CheckType3FontMetrics(); 36 void CheckType3FontMetrics();
37 37
38 CFX_Matrix& GetFontMatrix() { return m_FontMatrix; } 38 CFX_Matrix& GetFontMatrix() { return m_FontMatrix; }
39 39
40 protected: 40 protected:
41 CFX_Matrix m_FontMatrix; 41 CFX_Matrix m_FontMatrix;
42 42
43 private: 43 private:
44 // CPDF_Font: 44 // CPDF_Font:
45 FX_BOOL Load() override; 45 bool Load() override;
46 46
47 // CPDF_SimpleFont: 47 // CPDF_SimpleFont:
48 void LoadGlyphMap() override {} 48 void LoadGlyphMap() override {}
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 }; 55 };
56 56
57 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_ 57 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3FONT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698