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

Side by Side Diff: core/src/fxge/ge/text_int.h

Issue 1177483002: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 6 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/src/fxge/ge/fx_ge_text.cpp ('k') | core/src/fxge/skia/fx_skia_blitter_new.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_SRC_FXGE_GE_TEXT_INT_H_ 7 #ifndef CORE_SRC_FXGE_GE_TEXT_INT_H_
8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ 8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_
9 9
10 struct _CFX_UniqueKeyGen { 10 struct _CFX_UniqueKeyGen {
(...skipping 26 matching lines...) Expand all
37 union { 37 union {
38 struct { 38 struct {
39 FX_BOOL m_bItalic; 39 FX_BOOL m_bItalic;
40 FX_BOOL m_bBold; 40 FX_BOOL m_bBold;
41 FXFT_Face m_pFace; 41 FXFT_Face m_pFace;
42 } m_SingleFace; 42 } m_SingleFace;
43 struct { 43 struct {
44 FXFT_Face m_pFaces[16]; 44 FXFT_Face m_pFaces[16];
45 } m_TTCFace; 45 } m_TTCFace;
46 }; 46 };
47 FX_BYTE*» » m_pFontData; 47 uint8_t*» » m_pFontData;
48 int m_RefCount; 48 int m_RefCount;
49 }; 49 };
50 class CFX_UnicodeEncoding : public IFX_FontEncoding 50 class CFX_UnicodeEncoding : public IFX_FontEncoding
51 { 51 {
52 public: 52 public:
53 CFX_UnicodeEncoding(CFX_Font* pFont); 53 CFX_UnicodeEncoding(CFX_Font* pFont);
54 virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, int encod ing = ENCODING_UNICODE); 54 virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, int encod ing = ENCODING_UNICODE);
55 private: 55 private:
56 CFX_Font* m_pFont; 56 CFX_Font* m_pFont;
57 virtual FX_DWORD GlyphFromCharCode(FX_DWORD charcode); 57 virtual FX_DWORD GlyphFromCharCode(FX_DWORD charcode);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 FX_DWORD m_Charsets; 96 FX_DWORD m_Charsets;
97 FX_DWORD m_FileSize; 97 FX_DWORD m_FileSize;
98 FX_DWORD m_FontOffset; 98 FX_DWORD m_FontOffset;
99 int m_Weight; 99 int m_Weight;
100 FX_BOOL m_bItalic; 100 FX_BOOL m_bItalic;
101 int m_PitchFamily; 101 int m_PitchFamily;
102 CFX_ByteString m_FontTables; 102 CFX_ByteString m_FontTables;
103 }; 103 };
104 104
105 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ 105 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge_text.cpp ('k') | core/src/fxge/skia/fx_skia_blitter_new.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698