diff options
Diffstat (limited to 'src/w32font.c')
-rw-r--r-- | src/w32font.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32font.c b/src/w32font.c index f2d4e5e45e8..56061c0d9ce 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -1072,7 +1072,7 @@ w32font_open_internal (struct frame *f, Lisp_Object font_entity, name to be usable in x-list-fonts. Eventually we expect to change x-list-fonts and other places that use fonts so that this can be an fcname or similar. */ - font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object, Qnil); + font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object, Qnil, Qt); return 1; } @@ -2031,7 +2031,7 @@ static void fill_in_logfont (struct frame *f, LOGFONT *logfont, Lisp_Object font_spec) { Lisp_Object tmp, extra; - int dpi = FRAME_RES_Y (f); + int dpi = FRAME_RES (f); tmp = AREF (font_spec, FONT_DPI_INDEX); if (FIXNUMP (tmp)) @@ -2265,14 +2265,14 @@ font_supported_scripts (FONTSIGNATURE * sig) /* Match a single subrange. SYM is set if bit N is set in subranges. */ #define SUBRANGE(n,sym) \ if (subranges[(n) / 32] & (1U << ((n) % 32))) \ - supported = Fcons ((sym), supported) + supported = Fcons (sym, supported) /* Match multiple subranges. SYM is set if any MASK bit is set in subranges[0 - 3]. */ #define MASK_ANY(mask0,mask1,mask2,mask3,sym) \ if ((subranges[0] & (mask0)) || (subranges[1] & (mask1)) \ || (subranges[2] & (mask2)) || (subranges[3] & (mask3))) \ - supported = Fcons ((sym), supported) + supported = Fcons (sym, supported) /* 0: ASCII (a.k.a. "Basic Latin"), 1: Latin-1 supplement, 2: Latin Extended A, 3: Latin Extended B, |