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

Side by Side Diff: xfa/fgas/font/fgas_stdfontmgr.cpp

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/font/fgas_stdfontmgr.h ('k') | xfa/fgas/layout/fgas_textbreak.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 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 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 #include "xfa/fgas/font/fgas_stdfontmgr.h" 7 #include "xfa/fgas/font/fgas_stdfontmgr.h"
8 8
9 #include "core/fxcrt/fx_stream.h" 9 #include "core/fxcrt/fx_stream.h"
10 #include "core/fxge/include/cfx_fontmapper.h" 10 #include "core/fxge/cfx_fontmapper.h"
11 #include "core/fxge/include/cfx_fontmgr.h" 11 #include "core/fxge/cfx_fontmgr.h"
12 #include "core/fxge/include/cfx_gemodule.h" 12 #include "core/fxge/cfx_gemodule.h"
13 #include "core/fxge/include/ifx_systemfontinfo.h" 13 #include "core/fxge/ifx_systemfontinfo.h"
14 #include "xfa/fgas/crt/fgas_codepage.h" 14 #include "xfa/fgas/crt/fgas_codepage.h"
15 #include "xfa/fgas/font/fgas_fontutils.h" 15 #include "xfa/fgas/font/fgas_fontutils.h"
16 #include "xfa/fgas/font/fgas_gefont.h" 16 #include "xfa/fgas/font/fgas_gefont.h"
17 17
18 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 18 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
19 19
20 std::unique_ptr<IFGAS_FontMgr> IFGAS_FontMgr::Create( 20 std::unique_ptr<IFGAS_FontMgr> IFGAS_FontMgr::Create(
21 FX_LPEnumAllFonts pEnumerator) { 21 FX_LPEnumAllFonts pEnumerator) {
22 return std::unique_ptr<IFGAS_FontMgr>(new CFGAS_StdFontMgrImp(pEnumerator)); 22 return std::unique_ptr<IFGAS_FontMgr>(new CFGAS_StdFontMgrImp(pEnumerator));
23 } 23 }
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 1382
1383 int32_t CFGAS_FontMgrImp::IsPartName(const CFX_WideString& Name1, 1383 int32_t CFGAS_FontMgrImp::IsPartName(const CFX_WideString& Name1,
1384 const CFX_WideString& Name2) { 1384 const CFX_WideString& Name2) {
1385 if (Name1.Find(Name2.c_str()) != -1) { 1385 if (Name1.Find(Name2.c_str()) != -1) {
1386 return 1; 1386 return 1;
1387 } 1387 }
1388 return 0; 1388 return 0;
1389 } 1389 }
1390 1390
1391 #endif 1391 #endif
OLDNEW
« no previous file with comments | « xfa/fgas/font/fgas_stdfontmgr.h ('k') | xfa/fgas/layout/fgas_textbreak.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698