Commit 8f4635e9 authored by Jan Djärv's avatar Jan Djärv

* nsterm.m (ns_dumpglyphs_image): dr is a new rect to draw image into,

background rect may be larger.

Fixes: debbugs:12445
parent 3296976d
2012-09-23 Jan Djärv <jan.h.d@swipnet.se>
* 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 <cyd@gnu.org>
* keyboard.c (timer_check): Avoid quitting during Fcopy_sequence.
......
......@@ -2979,7 +2979,8 @@ Function modeled after x_draw_glyph_string_box ().
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment