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

Side by Side Diff: xfa/fgas/font/fgas_gefont.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master 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
« no previous file with comments | « xfa/fgas/font/fgas_fontutils.cpp ('k') | xfa/fgas/font/fgas_stdfontmgr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 XFA_FGAS_FONT_FGAS_GEFONT_H_ 7 #ifndef XFA_FGAS_FONT_FGAS_GEFONT_H_
8 #define XFA_FGAS_FONT_FGAS_GEFONT_H_ 8 #define XFA_FGAS_FONT_FGAS_GEFONT_H_
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "core/fxcrt/include/fx_memory.h" 12 #include "core/fxcrt/fx_memory.h"
13 #include "xfa/fgas/crt/fgas_utils.h" 13 #include "xfa/fgas/crt/fgas_utils.h"
14 #include "xfa/fgas/font/fgas_font.h" 14 #include "xfa/fgas/font/fgas_font.h"
15 15
16 #define FXFONT_SUBST_ITALIC 0x02 16 #define FXFONT_SUBST_ITALIC 0x02
17 17
18 class CFX_UnicodeEncoding; 18 class CFX_UnicodeEncoding;
19 class CXFA_PDFFontMgr; 19 class CXFA_PDFFontMgr;
20 20
21 class CFGAS_GEFont { 21 class CFGAS_GEFont {
22 public: 22 public:
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding; 105 std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding;
106 std::unique_ptr<CFX_DiscreteArrayTemplate<uint16_t>> m_pCharWidthMap; 106 std::unique_ptr<CFX_DiscreteArrayTemplate<uint16_t>> m_pCharWidthMap;
107 std::unique_ptr<CFX_MassArrayTemplate<CFX_Rect>> m_pRectArray; 107 std::unique_ptr<CFX_MassArrayTemplate<CFX_Rect>> m_pRectArray;
108 std::unique_ptr<CFX_MapPtrToPtr> m_pBBoxMap; 108 std::unique_ptr<CFX_MapPtrToPtr> m_pBBoxMap;
109 CXFA_PDFFontMgr* m_pProvider; // not owned. 109 CXFA_PDFFontMgr* m_pProvider; // not owned.
110 CFX_ArrayTemplate<CFGAS_GEFont*> m_SubstFonts; 110 CFX_ArrayTemplate<CFGAS_GEFont*> m_SubstFonts;
111 std::map<FX_WCHAR, CFGAS_GEFont*> m_FontMapper; 111 std::map<FX_WCHAR, CFGAS_GEFont*> m_FontMapper;
112 }; 112 };
113 113
114 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_ 114 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_
OLDNEW
« no previous file with comments | « xfa/fgas/font/fgas_fontutils.cpp ('k') | xfa/fgas/font/fgas_stdfontmgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698