Commit ba4f0b1d authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

stop messing with fontconfig's list of font directories.

* src/vteapp.c(main): stop messing with fontconfig's list of font directories.
parent 42bca0ff
2003-04-22 nalin
* src/vteapp.c(main): stop messing with fontconfig's list of font
directories.
2003-04-22 nalin
* configure.in: rework link order so that xft2 is linked before anything
else. You're still screwed if you link with both xft1 and xft2 libs,
......
......@@ -297,17 +297,6 @@ decrease_font_size(GtkWidget *widget, gpointer data)
adjust_font_size(widget, data, -1);
}
static void
mess_with_fontconfig(void)
{
#ifdef HAVE_XFT2
/* Is this even a good idea? Probably not, since this doesn't expose
* these fonts to the gnome-font-properties capplet. */
FcInit();
FcConfigAppFontAddDir(NULL, DATADIR "/" PACKAGE "/fonts");
#endif
}
static gboolean
read_and_feed(GIOChannel *source, GIOCondition condition, gpointer data)
{
......@@ -595,9 +584,6 @@ main(int argc, char **argv)
vte_terminal_set_emulation(VTE_TERMINAL(widget), terminal);
}
/* Mess with our fontconfig setup. */
mess_with_fontconfig();
/* Set the default font. */
if (font != NULL) {
vte_terminal_set_font_from_string(VTE_TERMINAL(widget), font);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment