summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@oracle.com>2011-04-04 17:44:53 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-17 13:31:44 +0200
commit68200a816bb0623407e3fa59cece04bcdcde1c3e (patch)
tree602198c6ff37f24d29f2ddc1263019ee695cc4fc /vcl/aqua
parent50c94449a942884a1bed6a85d4107342f321b9c0 (diff)
ooo34gsl01: #i117131# use correct sign for TTFontInfo [hg:d1476b062da5]
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/source/gdi/salgdi.cxx4
1 files changed, 2 insertions, 2 deletions
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 )