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

Side by Side Diff: core/fxge/fx_font.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 | « core/fxge/android/fpf_skiafontmgr.h ('k') | core/fxge/ge/cfx_font.cpp » ('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 CORE_FXGE_FX_FONT_H_ 7 #ifndef CORE_FXGE_FX_FONT_H_
8 #define CORE_FXGE_FX_FONT_H_ 8 #define CORE_FXGE_FX_FONT_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 int weight, 103 int weight,
104 int italic_angle, 104 int italic_angle,
105 int CharsetCP, 105 int CharsetCP,
106 bool bVertical); 106 bool bVertical);
107 107
108 FX_BOOL LoadEmbedded(const uint8_t* data, uint32_t size); 108 FX_BOOL LoadEmbedded(const uint8_t* data, uint32_t size);
109 FXFT_Face GetFace() const { return m_Face; } 109 FXFT_Face GetFace() const { return m_Face; }
110 CFX_SubstFont* GetSubstFont() const { return m_pSubstFont.get(); } 110 CFX_SubstFont* GetSubstFont() const { return m_pSubstFont.get(); }
111 111
112 #ifdef PDF_ENABLE_XFA 112 #ifdef PDF_ENABLE_XFA
113 FX_BOOL LoadFile(IFX_FileRead* pFile, 113 FX_BOOL LoadFile(IFX_SeekableReadStream* pFile,
114 int nFaceIndex = 0, 114 int nFaceIndex = 0,
115 int* pFaceCount = nullptr); 115 int* pFaceCount = nullptr);
116 116
117 FX_BOOL LoadClone(const CFX_Font* pFont); 117 FX_BOOL LoadClone(const CFX_Font* pFont);
118 void SetFace(FXFT_Face face); 118 void SetFace(FXFT_Face face);
119 void SetSubstFont(std::unique_ptr<CFX_SubstFont> subst) { 119 void SetSubstFont(std::unique_ptr<CFX_SubstFont> subst) {
120 m_pSubstFont = std::move(subst); 120 m_pSubstFont = std::move(subst);
121 } 121 }
122 #endif // PDF_ENABLE_XFA 122 #endif // PDF_ENABLE_XFA
123 123
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 FX_FLOAT retinaScaleX = 1.0f, 239 FX_FLOAT retinaScaleX = 1.0f,
240 FX_FLOAT retinaScaleY = 1.0f); 240 FX_FLOAT retinaScaleY = 1.0f);
241 241
242 CFX_ByteString GetNameFromTT(const uint8_t* name_table, 242 CFX_ByteString GetNameFromTT(const uint8_t* name_table,
243 uint32_t name_table_size, 243 uint32_t name_table_size,
244 uint32_t name); 244 uint32_t name);
245 245
246 int PDF_GetStandardFontName(CFX_ByteString* name); 246 int PDF_GetStandardFontName(CFX_ByteString* name);
247 247
248 #endif // CORE_FXGE_FX_FONT_H_ 248 #endif // CORE_FXGE_FX_FONT_H_
OLDNEW
« no previous file with comments | « core/fxge/android/fpf_skiafontmgr.h ('k') | core/fxge/ge/cfx_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698