Change-Id: I2202a3208b2b65f2ca7fb887c48fce311aef8f7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110390
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
This commit is contained in:
Andrea Gelmini 2021-02-04 10:14:53 +01:00 committed by Adolfo Jayme Barrientos
parent 54302a574a
commit ef98a5aae0

View File

@ -500,7 +500,7 @@ SvStream& ReadFont( SvStream& rIStm, vcl::Font& rFont )
// the writing producer was on a windows system, correct pre-multiplied value
// is already set, nothing to do. Ignore 2nd value. Here a check
// could be done if adapting the 2nd, NormedFontScaling value would be similar to
// the set value for plausability reasons
// the set value for plausibility reasons
}
#else
// we do not run on windows and a NormedFontScaling was written
@ -511,7 +511,7 @@ SvStream& ReadFont( SvStream& rIStm, vcl::Font& rFont )
}
else
{
// the writing producer was on a windows system, correct FontScvaling.
// the writing producer was on a windows system, correct FontScaling.
// The correct non-pre-multiplied value is the 2nd one, use it
rFont.SetAverageFontWidth(nNormedFontScaling);
}