Kaydet (Commit) 13e716b2 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

tdf#124944 don't directly adjust fallback layouts

These are adjusted via MultiSalLayout::AdjustLayout, as they
just know their own text width, but not the full text width of
the MultiSalLayout, so the adjustment is too large.

The correct adjustment is done by preparing a DXArray for all
glyphs, which is then passed to the individual font fallback
layouts for general adjustment.

Change-Id: I439527d03df4752e74ff94aee7775a95275be5e2
Reviewed-on: https://gerrit.libreoffice.org/71440
Tested-by: Jenkins
Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
üst ee57d525
......@@ -1332,8 +1332,6 @@ std::unique_ptr<SalLayout> OutputDevice::getFallbackLayout(
return nullptr;
}
pFallback->AdjustLayout( rLayoutArgs );
return pFallback;
}
......
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