Commit 73a5dca2ccd09295cbf2673940637bdfdf56421a

henry 2002-11-28T09:41:20

Set default values for kernAdvance

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTFace.cpp b/src/FTFace.cpp
index dda176e..47caf06 100755
--- a/src/FTFace.cpp
+++ b/src/FTFace.cpp
@@ -107,6 +107,8 @@ unsigned int FTFace::CharIndex( unsigned int index) const
 FTPoint FTFace::KernAdvance( unsigned int index1, unsigned int index2)
 {
     FT_Vector kernAdvance;
+    kernAdvance.x = 0;
+    kernAdvance.y = 0;
     
     if( FT_HAS_KERNING((*ftFace)) && index1 && index2)
     {