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

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

Issue 2185533006: Splitting fx_ge_fontmap.cpp (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits and added header files Created 4 years, 4 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
« pdfium.gyp ('K') | « xfa/fgas/font/fgas_stdfontmgr.h ('k') | no next file » | 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/include/fx_stream.h" 9 #include "core/fxcrt/include/fx_stream.h"
10 #include "core/fxge/include/cfx_folderfontinfo.h"
10 #include "core/fxge/include/fx_ge.h" 11 #include "core/fxge/include/fx_ge.h"
11 #include "xfa/fgas/crt/fgas_codepage.h" 12 #include "xfa/fgas/crt/fgas_codepage.h"
12 #include "xfa/fgas/font/fgas_fontutils.h" 13 #include "xfa/fgas/font/fgas_fontutils.h"
13 #include "xfa/fgas/font/fgas_gefont.h" 14 #include "xfa/fgas/font/fgas_gefont.h"
14 15
15 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 16 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
16 17
17 IFGAS_FontMgr* IFGAS_FontMgr::Create(FX_LPEnumAllFonts pEnumerator) { 18 IFGAS_FontMgr* IFGAS_FontMgr::Create(FX_LPEnumAllFonts pEnumerator) {
18 return new CFGAS_StdFontMgrImp(pEnumerator); 19 return new CFGAS_StdFontMgrImp(pEnumerator);
19 } 20 }
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 1389
1389 int32_t CFGAS_FontMgrImp::IsPartName(const CFX_WideString& Name1, 1390 int32_t CFGAS_FontMgrImp::IsPartName(const CFX_WideString& Name1,
1390 const CFX_WideString& Name2) { 1391 const CFX_WideString& Name2) {
1391 if (Name1.Find(Name2.c_str()) != -1) { 1392 if (Name1.Find(Name2.c_str()) != -1) {
1392 return 1; 1393 return 1;
1393 } 1394 }
1394 return 0; 1395 return 0;
1395 } 1396 }
1396 1397
1397 #endif 1398 #endif
OLDNEW
« pdfium.gyp ('K') | « xfa/fgas/font/fgas_stdfontmgr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698