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

Side by Side Diff: core/src/fxge/ge/fx_ge_linux.cpp

Issue 1679743003: CPDF_TextStream::m_pObjArray is always NULL (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rename 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
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 "core/include/fxge/fx_ge.h" 7 #include "core/include/fxge/fx_ge.h"
8 #include "core/src/fxge/agg/include/fx_agg_driver.h" 8 #include "core/src/fxge/agg/include/fx_agg_driver.h"
9 #include "text_int.h" 9 #include "core/src/fxge/ge/fx_text_int.h"
10 10
11 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ 11 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
12 class CFX_LinuxFontInfo : public CFX_FolderFontInfo { 12 class CFX_LinuxFontInfo : public CFX_FolderFontInfo {
13 public: 13 public:
14 void* MapFont(int weight, 14 void* MapFont(int weight,
15 FX_BOOL bItalic, 15 FX_BOOL bItalic,
16 int charset, 16 int charset,
17 int pitch_family, 17 int pitch_family,
18 const FX_CHAR* family, 18 const FX_CHAR* family,
19 int& iExact) override; 19 int& iExact) override;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 AddPath(*pPath); 138 AddPath(*pPath);
139 } 139 }
140 return TRUE; 140 return TRUE;
141 } 141 }
142 void CFX_GEModule::InitPlatform() { 142 void CFX_GEModule::InitPlatform() {
143 m_pFontMgr->SetSystemFontInfo( 143 m_pFontMgr->SetSystemFontInfo(
144 IFX_SystemFontInfo::CreateDefault(m_pUserFontPaths)); 144 IFX_SystemFontInfo::CreateDefault(m_pUserFontPaths));
145 } 145 }
146 void CFX_GEModule::DestroyPlatform() {} 146 void CFX_GEModule::DestroyPlatform() {}
147 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ 147 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698