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

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

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month 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/crt/fgas_stream.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>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ 94 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
95 FX_BOOL m_bUseLogFontStyle; 95 FX_BOOL m_bUseLogFontStyle;
96 uint32_t m_dwLogFontStyle; 96 uint32_t m_dwLogFontStyle;
97 #endif 97 #endif
98 CFX_Font* m_pFont; 98 CFX_Font* m_pFont;
99 CFGAS_GEFont* const m_pSrcFont; 99 CFGAS_GEFont* const m_pSrcFont;
100 IFGAS_FontMgr* const m_pFontMgr; 100 IFGAS_FontMgr* const m_pFontMgr;
101 int32_t m_iRefCount; 101 int32_t m_iRefCount;
102 bool m_bExternalFont; 102 bool m_bExternalFont;
103 std::unique_ptr<IFX_Stream, ReleaseDeleter<IFX_Stream>> m_pStream; 103 std::unique_ptr<IFX_Stream, ReleaseDeleter<IFX_Stream>> m_pStream;
104 std::unique_ptr<IFX_FileRead, ReleaseDeleter<IFX_FileRead>> m_pFileRead; 104 std::unique_ptr<IFX_SeekableReadStream,
105 ReleaseDeleter<IFX_SeekableReadStream>>
106 m_pFileRead;
105 std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding; 107 std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding;
106 std::unique_ptr<CFX_DiscreteArrayTemplate<uint16_t>> m_pCharWidthMap; 108 std::unique_ptr<CFX_DiscreteArrayTemplate<uint16_t>> m_pCharWidthMap;
107 std::unique_ptr<CFX_MassArrayTemplate<CFX_Rect>> m_pRectArray; 109 std::unique_ptr<CFX_MassArrayTemplate<CFX_Rect>> m_pRectArray;
108 std::unique_ptr<CFX_MapPtrToPtr> m_pBBoxMap; 110 std::unique_ptr<CFX_MapPtrToPtr> m_pBBoxMap;
109 CXFA_PDFFontMgr* m_pProvider; // not owned. 111 CXFA_PDFFontMgr* m_pProvider; // not owned.
110 CFX_ArrayTemplate<CFGAS_GEFont*> m_SubstFonts; 112 CFX_ArrayTemplate<CFGAS_GEFont*> m_SubstFonts;
111 std::map<FX_WCHAR, CFGAS_GEFont*> m_FontMapper; 113 std::map<FX_WCHAR, CFGAS_GEFont*> m_FontMapper;
112 }; 114 };
113 115
114 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_ 116 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_
OLDNEW
« no previous file with comments | « xfa/fgas/crt/fgas_stream.cpp ('k') | xfa/fgas/font/fgas_stdfontmgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698