diff options
author | Tom Seddon <emacs@tomseddon.plus.com> | 2013-11-29 13:01:45 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-11-29 13:01:45 +0200 |
commit | 579ca67bf4c73113aed658f3a954807de47ca3e3 (patch) | |
tree | 54149e64793d1367625628f6c84238c814b16fd3 /lisp/emacs-lisp/warnings.el | |
parent | de20f087b85e60b0d5aa899141a3349d4d9da80d (diff) | |
download | emacs-579ca67bf4c73113aed658f3a954807de47ca3e3.tar.gz emacs-579ca67bf4c73113aed658f3a954807de47ca3e3.tar.bz2 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 'lisp/emacs-lisp/warnings.el')
0 files changed, 0 insertions, 0 deletions