Commit 82523155 authored by Jason Rumney's avatar Jason Rumney
Browse files

(x_default_font_parameter): Use new style font name.

(Fx_create_frame, x_create_tip_frame): Initialize resx and resy.
parent 7add47cb
......@@ -4147,7 +4147,7 @@ x_default_font_parameter (f, parms)
{
int i;
static char *names[]
= { "-*-Courier New-normal-r-*-*-*-100-*-*-c-*-iso8859-1",
= { "Courier New-10",
"-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1",
"-*-Fixedsys-normal-r-*-*-12-*-*-*-c-*-iso8859-1",
"Fixedsys",
......@@ -4297,6 +4297,9 @@ This function is an internal primitive--use `make-frame' instead. */)
specbind (Qx_resource_name, name);
}
f->resx = dpyinfo->resx;
f->resy = dpyinfo->resy;
#ifdef USE_FONT_BACKEND
if (enable_font_backend)
{
......@@ -7395,6 +7398,9 @@ x_create_tip_frame (dpyinfo, parms, text)
specbind (Qx_resource_name, name);
}
f->resx = dpyinfo->resx;
f->resy = dpyinfo->resy;
#ifdef USE_FONT_BACKEND
if (enable_font_backend)
{
......
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