From 68200a816bb0623407e3fa59cece04bcdcde1c3e Mon Sep 17 00:00:00 2001 From: "Philipp Lohmann [pl]" Date: Mon, 4 Apr 2011 17:44:53 +0200 Subject: ooo34gsl01: #i117131# use correct sign for TTFontInfo [hg:d1476b062da5] --- vcl/aqua/source/gdi/salgdi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/aqua') diff --git a/vcl/aqua/source/gdi/salgdi.cxx b/vcl/aqua/source/gdi/salgdi.cxx index 3c228ffcfa40..f4fc437186fa 100644 --- a/vcl/aqua/source/gdi/salgdi.cxx +++ b/vcl/aqua/source/gdi/salgdi.cxx @@ -2229,8 +2229,8 @@ sal_Bool AquaSalGraphics::CreateFontSubset( const rtl::OUString& rToFile, rInfo.m_aFontBBox = Rectangle( Point( aTTInfo.xMin, aTTInfo.yMin ), Point( aTTInfo.xMax, aTTInfo.yMax ) ); rInfo.m_nCapHeight = aTTInfo.yMax; // Well ... - rInfo.m_nAscent = +aTTInfo.winAscent; - rInfo.m_nDescent = -aTTInfo.winDescent; + rInfo.m_nAscent = aTTInfo.winAscent; + rInfo.m_nDescent = aTTInfo.winDescent; // mac fonts usually do not have an OS2-table // => get valid ascent/descent values from other tables if( !rInfo.m_nAscent ) -- cgit