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

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

Issue 1730553002: Fixing whitespace lint errors. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review fixes Created 4 years, 10 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 | « PRESUBMIT.py ('k') | core/src/fpdfapi/fpdf_render/fpdf_render_text.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_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>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 CFX_BinaryBuf m_OtfFontData; 127 CFX_BinaryBuf m_OtfFontData;
128 void* m_hHandle; 128 void* m_hHandle;
129 void* m_pPlatformFont; 129 void* m_pPlatformFont;
130 void* m_pPlatformFontCollection; 130 void* m_pPlatformFontCollection;
131 void* m_pDwFont; 131 void* m_pDwFont;
132 FX_BOOL m_bDwLoaded; 132 FX_BOOL m_bDwLoaded;
133 FX_BOOL m_bEmbedded; 133 FX_BOOL m_bEmbedded;
134 FX_BOOL m_bVertical; 134 FX_BOOL m_bVertical;
135 135
136 #ifdef PDF_ENABLE_XFA 136 #ifdef PDF_ENABLE_XFA
137
137 protected: 138 protected:
138 FX_BOOL m_bLogic; 139 FX_BOOL m_bLogic;
139 void* m_pOwnedStream; 140 void* m_pOwnedStream;
141
140 #endif // PDF_ENABLE_XFA 142 #endif // PDF_ENABLE_XFA
141 }; 143 };
142 144
143 #define ENCODING_INTERNAL 0 145 #define ENCODING_INTERNAL 0
144 #define ENCODING_UNICODE 1 146 #define ENCODING_UNICODE 1
145 147
146 #ifdef PDF_ENABLE_XFA 148 #ifdef PDF_ENABLE_XFA
147 #define FXFM_ENC_TAG(a, b, c, d) \ 149 #define FXFM_ENC_TAG(a, b, c, d) \
148 (((FX_DWORD)(a) << 24) | ((FX_DWORD)(b) << 16) | ((FX_DWORD)(c) << 8) | \ 150 (((FX_DWORD)(a) << 24) | ((FX_DWORD)(b) << 16) | ((FX_DWORD)(c) << 8) | \
149 (FX_DWORD)(d)) 151 (FX_DWORD)(d))
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 537
536 protected: 538 protected:
537 virtual ~IFX_GSUBTable() {} 539 virtual ~IFX_GSUBTable() {}
538 }; 540 };
539 541
540 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); 542 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name);
541 543
542 int PDF_GetStandardFontName(CFX_ByteString* name); 544 int PDF_GetStandardFontName(CFX_ByteString* name);
543 545
544 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ 546 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698