summaryrefslogtreecommitdiff
path: root/vcl/source/fontsubset/sft.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /vcl/source/fontsubset/sft.cxx
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'vcl/source/fontsubset/sft.cxx')
-rw-r--r--vcl/source/fontsubset/sft.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index 37cd963fc607..608e7dbb0280 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -678,7 +678,7 @@ static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPo
* but Get{Simple|Compound}GlyphOutline returns 0 in such a case.
*
* NOTE: glyphlist is the stack of glyphs traversed while constructing
- * a composite glyph. This is a safequard against endless recursion
+ * a composite glyph. This is a safeguard against endless recursion
* in corrupted fonts.
*/
static int GetTTGlyphOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >* glyphlist)
@@ -1024,7 +1024,7 @@ static void GetNames(TrueTypeFont *t)
}
/* #i60349# sanity check psname
- * psname parctically has to be 7bit ascii and should not contains spaces
+ * psname pratically has to be 7bit ascii and should not contains spaces
* there is a class of broken fonts which do not fulfill that at all, so let's try
* if the family name is 7bit ascii and take it instead if so
*/
@@ -1471,7 +1471,7 @@ static void allocTrueTypeFont( TrueTypeFont** ttf )
}
}
-/* forward declariotn for the two entry points to use*/
+/* forward declaration for the two entry points to use*/
static int doOpenTTFont( sal_uInt32 facenum, TrueTypeFont* t );
#if !defined(WIN32)