From bc8d855b11e82fe937aeb81926808f2715400063 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 21:45:38 +0000 Subject: use "fixed" as the fallback font always --- otk/font.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'otk/font.cc') diff --git a/otk/font.cc b/otk/font.cc index 2d983d0c..519e9386 100644 --- a/otk/font.cc +++ b/otk/font.cc @@ -20,7 +20,6 @@ extern "C" { namespace otk { -std::string Font::_fallback_font = "fixed"; bool Font::_xft_init = false; Font::Font(int screen_num, const std::string &fontstring, @@ -52,13 +51,13 @@ Font::Font(int screen_num, const std::string &fontstring, return; printf(_("Unable to load font: %s\n"), _fontstring.c_str()); - printf(_("Trying fallback font: %s\n"), _fallback_font.c_str()); + printf(_("Trying fallback font: %s\n"), "fixed"); if ((_xftfont = XftFontOpenName(**display, _screen_num, - _fallback_font.c_str()))) + "fixed"))) return; - printf(_("Unable to load font: %s\n"), _fallback_font.c_str()); + printf(_("Unable to load font: %s\n"), "fixed"); printf(_("Aborting!.\n")); ::exit(3); // can't continue without a font -- cgit v1.2.3