diff options
author | Jason Rumney <jasonr@gnu.org> | 2002-02-18 00:04:14 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2002-02-18 00:04:14 +0000 |
commit | f7b9d4d15e6050bd69f0cde149153531eddd089b (patch) | |
tree | 94cacb0cb42ade707742e6f999648de56ffa8357 /src/w32bdf.c | |
parent | 42715db3b3922df51eba05273c3816943cd50e28 (diff) | |
download | emacs-f7b9d4d15e6050bd69f0cde149153531eddd089b.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/w32bdf.c')
-rw-r--r-- | src/w32bdf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/w32bdf.c b/src/w32bdf.c index 801c914d8d9..5bb5ba72bba 100644 --- a/src/w32bdf.c +++ b/src/w32bdf.c @@ -790,6 +790,13 @@ struct font_info *w32_load_bdf_font (struct frame *f, char *fontname, fontp->relative_compose = bdf_font->relative_compose; fontp->default_ascent = bdf_font->default_ascent; + /* Set global flag fonts_changed_p to non-zero if the font loaded + has a character with a smaller width than any other character + before, or if the font loaded has a smaller height than any + other font loaded before. If this happens, it will make a + glyph matrix reallocation necessary. */ + fonts_changed_p |= x_compute_min_glyph_bounds (f); + UNBLOCK_INPUT; dpyinfo->n_fonts++; return fontp; |