diff options
| author | Tom Seddon | 2013-11-29 13:01:45 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-11-29 13:01:45 +0200 |
| commit | 579ca67bf4c73113aed658f3a954807de47ca3e3 (patch) | |
| tree | 54149e64793d1367625628f6c84238c814b16fd3 /src/ChangeLog | |
| parent | de20f087b85e60b0d5aa899141a3349d4d9da80d (diff) | |
| download | emacs-579ca67bf4c73113aed658f3a954807de47ca3e3.tar.gz emacs-579ca67bf4c73113aed658f3a954807de47ca3e3.zip | |
Fix bug #6364 with slow scrolling on MS-Windows with bitmap fonts.
src/w32font.c (g_b_init_get_char_width_32_w): New static var.
(globals_of_w32font): Zero it out.
(GetCharWidth32W_Proc): New function pointer.
(get_char_width_32_w): New function.
(compute_metrics): If get_glyph_outline_w returns an error, try
get_char_width_32_w before declaring a failure. This avoids
punishing raster (a.k.a. "bitmap") fonts by slowing down
redisplay.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c05845cef71..668bba1e4ed 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,13 @@ | |||
| 1 | 2013-11-29 Eli Zaretskii <eliz@gnu.org> | 1 | 2013-11-29 Tom Seddon <emacs@tomseddon.plus.com> (tiny change) |
| 2 | |||
| 3 | * w32font.c (g_b_init_get_char_width_32_w): New static var. | ||
| 4 | (globals_of_w32font): Zero it out. | ||
| 5 | (GetCharWidth32W_Proc): New function pointer. | ||
| 6 | (get_char_width_32_w): New function. | ||
| 7 | (compute_metrics): If get_glyph_outline_w returns an error, try | ||
| 8 | get_char_width_32_w before declaring a failure. This avoids | ||
| 9 | punishing raster (a.k.a. "bitmap") fonts by slowing down | ||
| 10 | redisplay. (Bug#6364). | ||
| 2 | 11 | ||
| 3 | * xdisp.c (clear_mouse_face): Don't invalidate the entire | 12 | * xdisp.c (clear_mouse_face): Don't invalidate the entire |
| 4 | mouse-highlight info, just signal frame_up_to_date_hook that mouse | 13 | mouse-highlight info, just signal frame_up_to_date_hook that mouse |