mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
This commit is contained in:
parent
4053e3de9f
commit
25c4c1ad91
@ -646,7 +646,8 @@ nsInlineFrame::ReflowFrames(nsPresContext* aPresContext,
|
||||
}
|
||||
|
||||
nsRefPtr<nsFontMetrics> fm;
|
||||
nsLayoutUtils::GetFontMetricsForFrame(this, getter_AddRefs(fm));
|
||||
float inflation = nsLayoutUtils::FontSizeInflationFor(aReflowState);
|
||||
nsLayoutUtils::GetFontMetricsForFrame(this, getter_AddRefs(fm), inflation);
|
||||
aReflowState.rendContext->SetFont(fm);
|
||||
|
||||
if (fm) {
|
||||
|
Loading…
Reference in New Issue
Block a user