unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* random bold faces
@ 2003-04-02 21:01 Tak Ota
  2003-04-03  1:36 ` Miles Bader
  0 siblings, 1 reply; 2+ messages in thread
From: Tak Ota @ 2003-04-02 21:01 UTC (permalink / 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: random bold faces
  2003-04-02 21:01 random bold faces Tak Ota
@ 2003-04-03  1:36 ` Miles Bader
  0 siblings, 0 replies; 2+ messages in thread
From: Miles Bader @ 2003-04-03  1:36 UTC (permalink / raw)
  Cc: emacs-devel

Tak Ota <Takaaki.Ota@am.sony.com> writes:
> 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. 

Ah you're right; my bad.

Thanks for the fix.

-Miles
-- 
P.S.  All information contained in the above letter is false,
      for reasons of military security.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-03  1:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02 21:01 random bold faces Tak Ota
2003-04-03  1:36 ` Miles Bader

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