Commit b427cec0 authored by Elliot Lee's avatar Elliot Lee

Set serif font to something sane.



Set serif font to something sane.

Add cursors so it will compile anywhere (hopefully).
parent 1b6dbf0e
......@@ -72,3 +72,5 @@ libgdk_linux_fb_la_SOURCES = \
mispans.c \
gdkpango-fb.c
mispans.c
EXTRA_DIST=x-cursors.xbm
......@@ -28,7 +28,7 @@
#include "gdkprivate-fb.h"
#include "gdkcursor.h"
#include "/home/sopwith/bin/t2.xbm"
#include "x-cursors.xbm"
static struct {
const guchar *bits;
......
......@@ -122,6 +122,13 @@ pango_fb_font_map_load_font(PangoFontMap *fontmap,
d2.family_name = "Arial";
desc = &d2;
}
/* XXX fixme badhack */
if(!strcasecmp(desc->family_name, "serif"))
{
d2 = *desc;
d2.family_name = "Times New Roman";
desc = &d2;
}
retval = g_hash_table_lookup(fbfm->all_fonts, desc);
......
This diff is collapsed.
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