mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
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:
parent
bce73ad5b2
commit
bc49a36f56
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue