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

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

Issue 2368693002: Remove FX_BOOL from cpdf_font (Closed)
Patch Set: And again Created 4 years, 2 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_TRUETYPEFONT_H_ 7 #ifndef CORE_FPDFAPI_FPDF_FONT_CPDF_TRUETYPEFONT_H_
8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_TRUETYPEFONT_H_ 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_TRUETYPEFONT_H_
9 9
10 #include "core/fpdfapi/fpdf_font/cpdf_simplefont.h" 10 #include "core/fpdfapi/fpdf_font/cpdf_simplefont.h"
11 #include "core/fxcrt/include/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 12
13 class CPDF_TrueTypeFont : public CPDF_SimpleFont { 13 class CPDF_TrueTypeFont : public CPDF_SimpleFont {
14 public: 14 public:
15 CPDF_TrueTypeFont(); 15 CPDF_TrueTypeFont();
16 16
17 // CPDF_Font: 17 // CPDF_Font:
18 bool IsTrueTypeFont() const override; 18 bool IsTrueTypeFont() const override;
19 const CPDF_TrueTypeFont* AsTrueTypeFont() const override; 19 const CPDF_TrueTypeFont* AsTrueTypeFont() const override;
20 CPDF_TrueTypeFont* AsTrueTypeFont() override; 20 CPDF_TrueTypeFont* AsTrueTypeFont() override;
21 21
22 protected: 22 protected:
23 // CPDF_Font: 23 // CPDF_Font:
24 FX_BOOL Load() override; 24 bool Load() override;
25 25
26 // CPDF_SimpleFont: 26 // CPDF_SimpleFont:
27 void LoadGlyphMap() override; 27 void LoadGlyphMap() override;
28 }; 28 };
29 29
30 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_TRUETYPEFONT_H_ 30 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_TRUETYPEFONT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698