]> code.delx.au - gnu-emacs/commitdiff
(x_default_font_parameter): Use new style font name.
authorJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 23:40:51 +0000 (23:40 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 23:40:51 +0000 (23:40 +0000)
(Fx_create_frame, x_create_tip_frame): Initialize resx and resy.

src/w32fns.c

index 977d6a13333ddae4efeda9fa4b8e9170d1f868e6..d3e0dc1be15ebc29eb63c9efd8aba21a71e4a70a 100644 (file)
@@ -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)
     {