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

Side by Side Diff: xfa/fgas/layout/fgas_unicode.h

Issue 2494883002: Remove IFGAS_FontMgr and clean up (the renamed) CFGAS_FontMgr a little. (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 | « xfa/fgas/font/fgas_stdfontmgr.cpp ('k') | xfa/fwl/theme/cfwl_widgettp.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_FGAS_LAYOUT_FGAS_UNICODE_H_ 7 #ifndef XFA_FGAS_LAYOUT_FGAS_UNICODE_H_
8 #define XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ 8 #define XFA_FGAS_LAYOUT_FGAS_UNICODE_H_
9 9
10 #include "xfa/fgas/crt/fgas_utils.h" 10 #include "xfa/fgas/crt/fgas_utils.h"
11 #include "xfa/fgas/font/fgas_font.h" 11 #include "xfa/fgas/font/cfgas_fontmgr.h"
12 12
13 struct FX_TPO { 13 struct FX_TPO {
14 int32_t index; 14 int32_t index;
15 int32_t pos; 15 int32_t pos;
16 }; 16 };
17 typedef CFX_MassArrayTemplate<FX_TPO> CFX_TPOArray; 17 typedef CFX_MassArrayTemplate<FX_TPO> CFX_TPOArray;
18 18
19 void FX_TEXTLAYOUT_PieceSort(CFX_TPOArray& tpos, int32_t iStart, int32_t iEnd); 19 void FX_TEXTLAYOUT_PieceSort(CFX_TPOArray& tpos, int32_t iStart, int32_t iEnd);
20 20
21 typedef bool (*FX_AdjustCharDisplayPos)(FX_WCHAR wch, 21 typedef bool (*FX_AdjustCharDisplayPos)(FX_WCHAR wch,
22 bool bMBCSCode, 22 bool bMBCSCode,
23 CFGAS_GEFont* pFont, 23 CFGAS_GEFont* pFont,
24 FX_FLOAT fFontSize, 24 FX_FLOAT fFontSize,
25 bool bVertical, 25 bool bVertical,
26 CFX_PointF& ptOffset); 26 CFX_PointF& ptOffset);
27 27
28 #endif // XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ 28 #endif // XFA_FGAS_LAYOUT_FGAS_UNICODE_H_
OLDNEW
« no previous file with comments | « xfa/fgas/font/fgas_stdfontmgr.cpp ('k') | xfa/fwl/theme/cfwl_widgettp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698