diff options
Diffstat (limited to 'vcl/source/font/fontmetric.cxx')
-rw-r--r-- | vcl/source/font/fontmetric.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx index 7a40ce51afe5..f214ddd64948 100644 --- a/vcl/source/font/fontmetric.cxx +++ b/vcl/source/font/fontmetric.cxx @@ -362,7 +362,7 @@ void ImplFontMetricData::ImplInitTextLineSize( const OutputDevice* pDev ) const OUString sFullstop( sal_Unicode( 0x3001 ) ); // Fullwidth fullstop Rectangle aRect; pDev->GetTextBoundRect( aRect, sFullstop ); - const sal_uInt16 nH = rFont.GetSize().Height(); + const sal_uInt16 nH = rFont.GetFontSize().Height(); const sal_uInt16 nB = aRect.Left(); // Use 18.75% as a threshold to define a centered fullwidth fullstop. // In general, nB/nH < 5% for most Japanese fonts. |