• Tom Seddon's avatar
    Fix bug #6364 with slow scrolling on MS-Windows with bitmap fonts. · 579ca67b
    Tom Seddon authored
     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.
    579ca67b
ChangeLog 301 KB