#include "wx_util.h"
#include "lib/content.h"
#include "lib/font.h"
-#include "lib/scope_guard.h"
#include "lib/text_content.h"
+#include <dcp/filesystem.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
_fonts->SetItem(n, 0, id);
_fonts->SetItemData(n, i->id().empty());
if (i->file()) {
- _fonts->SetItem(n, 1, i->file()->leaf().string());
+ _fonts->SetItem(n, 1, i->file()->filename().string());
}
++n;
}
*/
wxString default_dir = "";
#ifdef DCPOMATIC_LINUX
- if (boost::filesystem::exists ("/usr/share/fonts/truetype")) {
+ if (dcp::filesystem::exists("/usr/share/fonts/truetype")) {
default_dir = "/usr/share/fonts/truetype";
} else {
default_dir = "/usr/share/fonts";