Commit 493b5b1c authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsterm.m (ns_dumpglyphs_image): Only draw slize of image (Bug#12506).

parent 817330b5
2012-10-07 Jan Djärv <>
* nsterm.m (ns_dumpglyphs_image): Only draw slize of image (Bug#12506).
* nsterm.m (ns_update_auto_hide_menu_bar): Remove defintion of
(syms_of_nsterm): Remove comment about Panther and above for ns-antialias-text.
* nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove.
(EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4.
(struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3.
......@@ -2975,8 +2975,10 @@ Function modeled after x_draw_glyph_string_box ().
NSRect dr = NSMakeRect (x, y, s->slice.width, s->slice.height);
NSRect ir = NSMakeRect (s->slice.x, s->slice.y,
s->slice.width, s->slice.height);
[img drawInRect: dr
fromRect: NSZeroRect
fromRect: ir
operation: NSCompositeSourceOver
fraction: 1.0
respectFlipped: YES
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