From 774666fb43580d6dcca8616cea49d1abb6489c9b Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 3 Apr 2003 01:40:58 +0000 Subject: [PATCH] (choose_face_font): Make sure *NEEDS_OVERSTRIKE is always set. --- src/ChangeLog | 5 +++++ src/xfaces.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1e9d6c12ee6..ed6eb184e8c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-04-03 Miles Bader + + * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is + always set. + 2003-04-01 Dave Love * xfns.c (xpm_lookup_color): Grok "opaque". diff --git a/src/xfaces.c b/src/xfaces.c index 71c2915e806..ab91fc24de9 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -1,5 +1,5 @@ /* xfaces.c -- "Face" primitives. - Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002 + Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation. This file is part of GNU Emacs. @@ -6439,6 +6439,9 @@ choose_face_font (f, attrs, fontset, c, needs_overstrike) struct font_name *fonts; int nfonts, width_ratio; + if (needs_overstrike) + *needs_overstrike = 0; + /* Get (foundry and) family name and registry (and encoding) name of a font for C. */ pattern = fontset_font_pattern (f, fontset, c); -- 2.39.2