Commit bc49a36f authored by Alexandre Julliard's avatar Alexandre Julliard

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

More appropriate default size for fonts with invalid sizes.
parent bce73ad5
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment