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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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_linebreak.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 #include "xfa/src/fgas/font/fgas_stdfontmgr.h" 7 #include "xfa/fgas/font/fgas_stdfontmgr.h"
8 8
9 #include "core/include/fxcrt/fx_stream.h" 9 #include "core/include/fxcrt/fx_stream.h"
10 #include "xfa/src/fgas/crt/fgas_codepage.h" 10 #include "xfa/fgas/crt/fgas_codepage.h"
11 #include "xfa/src/fgas/font/fgas_fontutils.h" 11 #include "xfa/fgas/font/fgas_fontutils.h"
12 12
13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
14 IFX_FontMgr* IFX_FontMgr::Create(FX_LPEnumAllFonts pEnumerator, 14 IFX_FontMgr* IFX_FontMgr::Create(FX_LPEnumAllFonts pEnumerator,
15 FX_LPMatchFont pMatcher, 15 FX_LPMatchFont pMatcher,
16 void* pUserData) { 16 void* pUserData) {
17 return new CFX_StdFontMgrImp(pEnumerator, pMatcher, pUserData); 17 return new CFX_StdFontMgrImp(pEnumerator, pMatcher, pUserData);
18 } 18 }
19 CFX_StdFontMgrImp::CFX_StdFontMgrImp(FX_LPEnumAllFonts pEnumerator, 19 CFX_StdFontMgrImp::CFX_StdFontMgrImp(FX_LPEnumAllFonts pEnumerator,
20 FX_LPMatchFont pMatcher, 20 FX_LPMatchFont pMatcher,
21 void* pUserData) 21 void* pUserData)
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 } 1506 }
1507 } 1507 }
1508 int32_t CFX_FontMgrImp::IsPartName(const CFX_WideString& Name1, 1508 int32_t CFX_FontMgrImp::IsPartName(const CFX_WideString& Name1,
1509 const CFX_WideString& Name2) { 1509 const CFX_WideString& Name2) {
1510 if (Name1.Find((const FX_WCHAR*)Name2) != -1) { 1510 if (Name1.Find((const FX_WCHAR*)Name2) != -1) {
1511 return 1; 1511 return 1;
1512 } 1512 }
1513 return 0; 1513 return 0;
1514 } 1514 }
1515 #endif 1515 #endif
OLDNEW
« no previous file with comments | « xfa/fgas/font/fgas_stdfontmgr.h ('k') | xfa/fgas/layout/fgas_linebreak.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698