diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macterm.c b/src/macterm.c index a9964ae28ab..940dac3f7b3 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -1023,9 +1023,9 @@ mac_draw_image_string_atsui (f, gc, x, y, buf, nchars, bg_width, | |||
| 1023 | 1023 | ||
| 1024 | GetPort (&port); | 1024 | GetPort (&port); |
| 1025 | QDBeginCGContext (port, &context); | 1025 | QDBeginCGContext (port, &context); |
| 1026 | CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f)); | ||
| 1026 | if (gc->n_clip_rects || bg_width) | 1027 | if (gc->n_clip_rects || bg_width) |
| 1027 | { | 1028 | { |
| 1028 | CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f)); | ||
| 1029 | CGContextScaleCTM (context, 1, -1); | 1029 | CGContextScaleCTM (context, 1, -1); |
| 1030 | if (gc->n_clip_rects) | 1030 | if (gc->n_clip_rects) |
| 1031 | CGContextClipToRects (context, gc->clip_rects, | 1031 | CGContextClipToRects (context, gc->clip_rects, |
| @@ -1410,9 +1410,9 @@ mac_draw_image_string_cg (f, gc, x, y, buf, nchars, bg_width, overstrike_p) | |||
| 1410 | context = mac_begin_cg_clip (f, gc); | 1410 | context = mac_begin_cg_clip (f, gc); |
| 1411 | #else | 1411 | #else |
| 1412 | QDBeginCGContext (GetWindowPort (FRAME_MAC_WINDOW (f)), &context); | 1412 | QDBeginCGContext (GetWindowPort (FRAME_MAC_WINDOW (f)), &context); |
| 1413 | CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f)); | ||
| 1413 | if (gc->n_clip_rects || bg_width) | 1414 | if (gc->n_clip_rects || bg_width) |
| 1414 | { | 1415 | { |
| 1415 | CGContextTranslateCTM (context, 0, FRAME_PIXEL_HEIGHT (f)); | ||
| 1416 | CGContextScaleCTM (context, 1, -1); | 1416 | CGContextScaleCTM (context, 1, -1); |
| 1417 | if (gc->n_clip_rects) | 1417 | if (gc->n_clip_rects) |
| 1418 | CGContextClipToRects (context, gc->clip_rects, gc->n_clip_rects); | 1418 | CGContextClipToRects (context, gc->clip_rects, gc->n_clip_rects); |