Fix typo
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:
committed by
Adolfo Jayme Barrientos
parent
54302a574a
commit
ef98a5aae0
@@ -500,7 +500,7 @@ SvStream& ReadFont( SvStream& rIStm, vcl::Font& rFont )
|
|||||||
// the writing producer was on a windows system, correct pre-multiplied value
|
// the writing producer was on a windows system, correct pre-multiplied value
|
||||||
// is already set, nothing to do. Ignore 2nd value. Here a check
|
// 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
|
// 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
|
#else
|
||||||
// we do not run on windows and a NormedFontScaling was written
|
// we do not run on windows and a NormedFontScaling was written
|
||||||
@@ -511,7 +511,7 @@ SvStream& ReadFont( SvStream& rIStm, vcl::Font& rFont )
|
|||||||
}
|
}
|
||||||
else
|
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
|
// The correct non-pre-multiplied value is the 2nd one, use it
|
||||||
rFont.SetAverageFontWidth(nNormedFontScaling);
|
rFont.SetAverageFontWidth(nNormedFontScaling);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user