diff options
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeXFontMgr.cpp')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeXFontMgr.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.cpp b/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.cpp index e6a3efdbdbb..63d9567222f 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.cpp +++ b/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.cpp @@ -31,7 +31,7 @@ authorization from SIL International. #ifdef XETEX_MAC #include "XeTeXFontMgr_Mac.h" #else -#include "XeTeXFontMgr_Linux.h" +#include "XeTeXFontMgr_FC.h" #endif #include "XeTeXLayoutInterface.h" @@ -62,7 +62,7 @@ XeTeXFontMgr::GetFontManager() #ifdef XETEX_MAC sFontManager = new XeTeXFontMgr_Mac; #else - sFontManager = new XeTeXFontMgr_Linux; + sFontManager = new XeTeXFontMgr_FC; #endif sFontManager->initialize(); } @@ -371,15 +371,6 @@ XeTeXFontMgr::findFont(const char* name, char* variant, double ptSize) } const char* -XeTeXFontMgr::getPSName(PlatformFontRef font) const -{ - std::map<PlatformFontRef,Font*>::const_iterator i = platformRefToFont.find(font); - if (i == platformRefToFont.end()) - die("internal error %d in XeTeXFontMgr", 1); - return i->second->psName->c_str(); -} - -const char* XeTeXFontMgr::getFullName(PlatformFontRef font) const { std::map<PlatformFontRef,Font*>::const_iterator i = platformRefToFont.find(font); |