summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-09 12:44:22 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:31:58 +0200
commit2ada2b33757518891e002cd9372c6aa0c85b0a3f (patch)
tree5a30d3e74a0ab663a3438520e99da90dd18b26b9 /vcl
parentc8e94ffb8cc8bedf7a572ca12931caa999733799 (diff)
typo: dependend -> dependent
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index 1154967df349..dcc29cbe21e0 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -1617,7 +1617,7 @@ void WinSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int nFallbackLe
pMetric->SetItalic(aWinMetric.tmItalic ? ITALIC_NORMAL : ITALIC_NONE);
pMetric->mnSlant = 0;
- // device dependend font attributes
+ // device dependent font attributes
pMetric->mbDevice = (aWinMetric.tmPitchAndFamily & TMPF_DEVICE) != 0;
pMetric->mbScalableFont = (aWinMetric.tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE)) != 0;
if( pMetric->mbScalableFont )
@@ -1635,7 +1635,7 @@ void WinSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int nFallbackLe
pMetric->mbKernableFont = false;
}
- // transformation dependend font metrics
+ // transformation dependent font metrics
pMetric->mnWidth = static_cast<int>( mfFontScale[nFallbackLevel] * aWinMetric.tmAveCharWidth );
pMetric->mnIntLeading = static_cast<int>( mfFontScale[nFallbackLevel] * aWinMetric.tmInternalLeading );
pMetric->mnExtLeading = static_cast<int>( mfFontScale[nFallbackLevel] * aWinMetric.tmExternalLeading );