[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110151: * nsterm.m (ns_dumpglyphs_im
From: |
Jan D. |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110151: * nsterm.m (ns_dumpglyphs_image): dr is a new rect to draw image into, |
Date: |
Sun, 23 Sep 2012 10:28:12 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110151
fixes bug: http://debbugs.gnu.org/12445
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sun 2012-09-23 10:28:12 +0200
message:
* nsterm.m (ns_dumpglyphs_image): dr is a new rect to draw image into,
background rect may be larger.
modified:
src/ChangeLog
src/nsterm.m
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-09-23 08:24:44 +0000
+++ b/src/ChangeLog 2012-09-23 08:28:12 +0000
@@ -1,3 +1,8 @@
+2012-09-23 Jan Djärv <address@hidden>
+
+ * nsterm.m (ns_dumpglyphs_image): dr is a new rect to draw image into,
+ background rect may be larger (Bug#12445).
+
2012-09-23 Chong Yidong <address@hidden>
* keyboard.c (timer_check): Avoid quitting during Fcopy_sequence.
=== modified file 'src/nsterm.m'
--- a/src/nsterm.m 2012-09-20 01:37:07 +0000
+++ b/src/nsterm.m 2012-09-23 08:28:12 +0000
@@ -2979,7 +2979,8 @@
if (img != nil)
{
#if !defined (NS_IMPL_COCOA) || MAC_OS_X_VERSION_MAX_ALLOWED >=
MAC_OS_X_VERSION_10_6
- [img drawInRect: br
+ NSRect dr = NSMakeRect (x, y, s->slice.width, s->slice.height);
+ [img drawInRect: dr
fromRect: NSZeroRect
operation: NSCompositeSourceOver
fraction: 1.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110151: * nsterm.m (ns_dumpglyphs_image): dr is a new rect to draw image into,,
Jan D. <=