Set the default encoding
diff --git a/include/FTCharmap.h b/include/FTCharmap.h
index 0862101..db0edd8 100644
--- a/include/FTCharmap.h
+++ b/include/FTCharmap.h
@@ -87,7 +87,7 @@ class FTCharmap
protected:
/**
- * Current cahracter map code.
+ * Current character map code.
*/
FT_Encoding ftEncoding;
diff --git a/src/FTCharmap.cpp b/src/FTCharmap.cpp
index b7bf6da..31107c6 100644
--- a/src/FTCharmap.cpp
+++ b/src/FTCharmap.cpp
@@ -3,10 +3,9 @@
FTCharmap::FTCharmap( FT_Face face)
: err(0),
- ftEncoding( ft_encoding_none),
ftFace( face)
{
-// charMap.reserve( 1000);
+ ftEncoding = face->charmap->encoding;
}