[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
random bold faces
From: |
Tak Ota |
Subject: |
random bold faces |
Date: |
Wed, 02 Apr 2003 13:01:16 -0800 (PST) |
The below patch corrects occurrence of random bold faces when using
BDF font. It happens when choose_face_font returns without calling
best_matching_font.
-Tak
$ diff -c emacs-21.3.50/src/xfaces.c ../emacs-21.3.50/src/xfaces.c
*** emacs-21.3.50/src/xfaces.c Mon Mar 31 22:06:27 2003
--- ../emacs-21.3.50/src/xfaces.c Wed Apr 2 10:27:08 2003
***************
*** 6439,6444 ****
--- 6439,6447 ----
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);
- random bold faces,
Tak Ota <=