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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/crt/fgas_utils.cpp ('k') | xfa/fgas/font/fgas_fontutils.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_SRC_FGAS_FONT_FGAS_FONT_H_ 7 #ifndef XFA_FGAS_FONT_FGAS_FONT_H_
8 #define XFA_SRC_FGAS_FONT_FGAS_FONT_H_ 8 #define XFA_FGAS_FONT_FGAS_FONT_H_
9 9
10 #include "core/include/fxge/fx_font.h" 10 #include "core/include/fxge/fx_font.h"
11 #include "xfa/src/fgas/crt/fgas_stream.h" 11 #include "xfa/fgas/crt/fgas_stream.h"
12 12
13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
14 #include "xfa/src/fgas/crt/fgas_memory.h" 14 #include "xfa/fgas/crt/fgas_memory.h"
15 #include "xfa/src/fgas/crt/fgas_utils.h" 15 #include "xfa/fgas/crt/fgas_utils.h"
16 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 16 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
17 17
18 class IFX_Font; 18 class IFX_Font;
19 class IFX_FontMgr; 19 class IFX_FontMgr;
20 20
21 #define FX_FONTSTYLE_Normal 0x00 21 #define FX_FONTSTYLE_Normal 0x00
22 #define FX_FONTSTYLE_FixedPitch 0x01 22 #define FX_FONTSTYLE_FixedPitch 0x01
23 #define FX_FONTSTYLE_Serif 0x02 23 #define FX_FONTSTYLE_Serif 0x02
24 #define FX_FONTSTYLE_Symbolic 0x04 24 #define FX_FONTSTYLE_Symbolic 0x04
25 #define FX_FONTSTYLE_Script 0x08 25 #define FX_FONTSTYLE_Script 0x08
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream, 275 virtual IFX_Font* LoadFont(IFX_Stream* pFontStream,
276 int32_t iFaceIndex, 276 int32_t iFaceIndex,
277 int32_t* pFaceCount = NULL, 277 int32_t* pFaceCount = NULL,
278 FX_BOOL bSaveStream = FALSE) = 0; 278 FX_BOOL bSaveStream = FALSE) = 0;
279 279
280 virtual void ClearFontCache() = 0; 280 virtual void ClearFontCache() = 0;
281 virtual void RemoveFont(IFX_Font* pFont) = 0; 281 virtual void RemoveFont(IFX_Font* pFont) = 0;
282 }; 282 };
283 #endif 283 #endif
284 284
285 #endif // XFA_SRC_FGAS_FONT_FGAS_FONT_H_ 285 #endif // XFA_FGAS_FONT_FGAS_FONT_H_
OLDNEW
« no previous file with comments | « xfa/fgas/crt/fgas_utils.cpp ('k') | xfa/fgas/font/fgas_fontutils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698