summaryrefslogtreecommitdiff
path: root/core/src/fxge/apple/fx_mac_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxge/apple/fx_mac_imp.cpp')
-rw-r--r--core/src/fxge/apple/fx_mac_imp.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp
index a21aa5ded5..5acedc0bd9 100644
--- a/core/src/fxge/apple/fx_mac_imp.cpp
+++ b/core/src/fxge/apple/fx_mac_imp.cpp
@@ -25,7 +25,6 @@ Base14Substs[] = {
{"Times-BoldItalic", "Times New Roman Bold Italic"},
{"Times-Italic", "Times New Roman Italic"},
};
-#if !defined(_FPDFAPI_MINI_)
class CFX_MacFontInfo : public CFX_FolderFontInfo
{
public:
@@ -86,10 +85,8 @@ void* CFX_MacFontInfo::MapFont(int weight, FX_BOOL bItalic, int charset, int pit
}
return NULL;
}
-#endif
IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault()
{
-#if !defined(_FPDFAPI_MINI_)
CFX_MacFontInfo* pInfo = FX_NEW CFX_MacFontInfo;
if (!pInfo) {
return NULL;
@@ -98,9 +95,6 @@ IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault()
pInfo->AddPath("/Library/Fonts");
pInfo->AddPath("/System/Library/Fonts");
return pInfo;
-#else
- return NULL;
-#endif
}
void CFX_GEModule::InitPlatform()
{