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

Side by Side Diff: core/include/fxge/fx_font.h

Issue 1741003002: Cleanup forward declarations. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 | « core/include/fxcodec/fx_codec.h ('k') | core/src/fpdftext/text_int.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 CORE_INCLUDE_FXGE_FX_FONT_H_ 7 #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_
8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "core/include/fxcrt/fx_system.h" 14 #include "core/include/fxcrt/fx_system.h"
15 #include "core/include/fxge/fx_dib.h" 15 #include "core/include/fxge/fx_dib.h"
16 16
17 typedef struct FT_FaceRec_* FXFT_Face; 17 typedef struct FT_FaceRec_* FXFT_Face;
18 typedef void* FXFT_Library; 18 typedef void* FXFT_Library;
19 19
20 class CFX_FaceCache; 20 class CFX_FaceCache;
21 class CFX_FontFaceInfo; 21 class CFX_FontFaceInfo;
22 class CFX_FontMapper; 22 class CFX_FontMapper;
23 class CFX_PathData; 23 class CFX_PathData;
24 class CFX_SizeGlyphCache; 24 class CFX_SizeGlyphCache;
25 class CFX_SubstFont; 25 class CFX_SubstFont;
26 class CTTFontDesc; 26 class CTTFontDesc;
27 class IFX_FontEncoding;
28 class IFX_SystemFontInfo; 27 class IFX_SystemFontInfo;
29 28
30 #define FXFONT_FIXED_PITCH 0x01 29 #define FXFONT_FIXED_PITCH 0x01
31 #define FXFONT_SERIF 0x02 30 #define FXFONT_SERIF 0x02
32 #define FXFONT_SYMBOLIC 0x04 31 #define FXFONT_SYMBOLIC 0x04
33 #define FXFONT_SCRIPT 0x08 32 #define FXFONT_SCRIPT 0x08
34 #define FXFONT_ITALIC 0x40 33 #define FXFONT_ITALIC 0x40
35 #define FXFONT_BOLD 0x40000 34 #define FXFONT_BOLD 0x40000
36 #define FXFONT_USEEXTERNATTR 0x80000 35 #define FXFONT_USEEXTERNATTR 0x80000
37 #define FXFONT_CIDFONT 0x100000 36 #define FXFONT_CIDFONT 0x100000
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 536
538 protected: 537 protected:
539 virtual ~IFX_GSUBTable() {} 538 virtual ~IFX_GSUBTable() {}
540 }; 539 };
541 540
542 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); 541 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name);
543 542
544 int PDF_GetStandardFontName(CFX_ByteString* name); 543 int PDF_GetStandardFontName(CFX_ByteString* name);
545 544
546 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ 545 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_
OLDNEW
« no previous file with comments | « core/include/fxcodec/fx_codec.h ('k') | core/src/fpdftext/text_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698