Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>

More appropriate default size for fonts with invalid sizes.
This commit is contained in:
Alexandre Julliard 1999-04-25 10:57:03 +00:00
parent bce73ad5b2
commit bc49a36f56
1 changed files with 2 additions and 2 deletions

View File

@ -2394,9 +2394,9 @@ static X_PHYSFONT XFONT_RealizeFont( LPLOGFONT16 plf )
if(abs(plf->lfHeight) > MAX_FONT_SIZE) {
ERR(font,
"plf->lfHeight = %d, this is probably not right. Setting to 100\n",
"plf->lfHeight = %d, this is probably not right. Setting to 12\n",
plf->lfHeight);
plf->lfHeight = 100;
plf->lfHeight = 12;
}
XFONT_MatchDeviceFont( fontList, &fm );