unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Subject: random bold faces
Date: Wed, 02 Apr 2003 13:01:16 -0800 (PST)	[thread overview]
Message-ID: <20030402.130116.107710240.Takaaki.Ota@am.sony.com> (raw)

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);

             reply	other threads:[~2003-04-02 21:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 21:01 Tak Ota [this message]
2003-04-03  1:36 ` random bold faces Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030402.130116.107710240.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).