emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/w32font.c,v


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/w32font.c,v
Date: Mon, 25 Feb 2008 01:46:31 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   08/02/25 01:46:30

Index: w32font.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32font.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- w32font.c   24 Feb 2008 15:07:46 -0000      1.8
+++ w32font.c   25 Feb 2008 01:46:30 -0000      1.9
@@ -487,6 +487,15 @@
       DeleteObject (brush);
     }
 
+  if (s->padding_p)
+    {
+      int len = to - from, i;
+
+      for (i = 0; i < len; i++)
+       ExtTextOutW (s->hdc, x + i, y, options, NULL,
+                    s->char2b + from + i, len, NULL);
+    }
+  else
   ExtTextOutW (s->hdc, x, y, options, NULL, s->char2b + from, to - from, NULL);
 
   /* Restore clip region.  */




reply via email to

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