mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 407415 - NaNs in gfxPangoFont::RealizeFont with font-size:0 and font-size-adjust. r=roc a=dsicore
This commit is contained in:
parent
93f860380f
commit
edeff73691
@ -331,7 +331,7 @@ gfxPangoFont::RealizeFont(PRBool force)
|
||||
return;
|
||||
|
||||
mAdjustedSize = GetStyle()->size;
|
||||
if (GetStyle()->sizeAdjust == 0)
|
||||
if (mAdjustedSize == 0 || GetStyle()->sizeAdjust == 0)
|
||||
return;
|
||||
|
||||
gfxSize isz, lsz;
|
||||
|
Loading…
Reference in New Issue
Block a user