1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00

(ftxfont_open): Don't set

dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 0.
This commit is contained in:
Kenichi Handa 2008-02-07 01:14:21 +00:00
parent 06a1ab15d6
commit 562af9bcf5

View File

@ -351,6 +351,14 @@ ftxfont_open (f, entity, pixel_size)
dpyinfo->smallest_char_width = font->min_width, fonts_changed_p |= 1;
}
if (fonts_changed_p)
{
if (dpyinfo->smallest_font_height == 0)
dpyinfo->smallest_font_height = 1;
if (dpyinfo->smallest_char_width == 0)
dpyinfo->smallest_char_width = 1;
}
return font;
}