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

Side by Side Diff: core/src/fxge/apple/fx_mac_imp.cpp

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 "apple_int.h" 8 #include "core/src/fxge/apple/apple_int.h"
9 9
10 #if _FX_OS_ == _FX_MACOSX_ 10 #if _FX_OS_ == _FX_MACOSX_
11 static const struct { 11 static const struct {
12 const FX_CHAR* m_pName; 12 const FX_CHAR* m_pName;
13 const FX_CHAR* m_pSubstName; 13 const FX_CHAR* m_pSubstName;
14 } Base14Substs[] = { 14 } Base14Substs[] = {
15 {"Courier", "Courier New"}, 15 {"Courier", "Courier New"},
16 {"Courier-Bold", "Courier New Bold"}, 16 {"Courier-Bold", "Courier New Bold"},
17 {"Courier-BoldOblique", "Courier New Bold Italic"}, 17 {"Courier-BoldOblique", "Courier New Bold Italic"},
18 {"Courier-Oblique", "Courier New Italic"}, 18 {"Courier-Oblique", "Courier New Italic"},
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 void CFX_GEModule::InitPlatform() { 105 void CFX_GEModule::InitPlatform() {
106 m_pPlatformData = new CApplePlatform; 106 m_pPlatformData = new CApplePlatform;
107 m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault(nullptr)); 107 m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault(nullptr));
108 } 108 }
109 void CFX_GEModule::DestroyPlatform() { 109 void CFX_GEModule::DestroyPlatform() {
110 delete (CApplePlatform*)m_pPlatformData; 110 delete (CApplePlatform*)m_pPlatformData;
111 m_pPlatformData = NULL; 111 m_pPlatformData = NULL;
112 } 112 }
113 #endif 113 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698