emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src w32font.c


From: Jason Rumney
Subject: [Emacs-diffs] emacs/src w32font.c
Date: Thu, 12 Feb 2009 13:58:29 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   09/02/12 13:58:29

Modified files:
        src            : w32font.c 

Log message:
        (add_font_entity_to_list): Fix check for substituted
        raster fonts. (Bug#2219)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/w32font.c?cvsroot=emacs&r1=1.68&r2=1.69

Patches:
Index: w32font.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32font.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -b -r1.68 -r1.69
--- w32font.c   26 Jan 2009 14:31:29 -0000      1.68
+++ w32font.c   12 Feb 2009 13:58:29 -0000      1.69
@@ -1433,7 +1433,7 @@
      by a foundry, we accept raster fonts if the font name is found
      anywhere within the full name.  */
   if ((logical_font->elfLogFont.lfOutPrecision == OUT_STRING_PRECIS
-       && strstr (logical_font->elfFullName,
+       && !strstr (logical_font->elfFullName,
                  logical_font->elfLogFont.lfFaceName))
       /* Check for well known substitutions that mess things up in the
         presence of Type-1 fonts of the same name.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]