Updated docs and removed numberOfCharmaps member
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
diff --git a/include/FTFace.h b/include/FTFace.h
index 648fad0..a11f2bc 100755
--- a/include/FTFace.h
+++ b/include/FTFace.h
@@ -22,21 +22,17 @@ class FTGL_EXPORT FTFace
{
public:
/**
- * Opens and reads a face file.
+ * Opens and reads a face file. Error is set.
*
* @param filename font file name.
- * @return <code>true</code> if file has opened
- * successfully.
*/
FTFace( const char* filename);
/**
- * Read face data from an in-memory buffer.
+ * Read face data from an in-memory buffer. Error is set.
*
* @param pBufferBytes the in-memory buffer
* @param bufferSizeInBytes the length of the buffer in bytes
- * @return <code>true</code> if file has opened
- * successfully.
*/
FTFace( const unsigned char *pBufferBytes, size_t bufferSizeInBytes );
@@ -138,11 +134,6 @@ class FTGL_EXPORT FTFace
FT_Glyph ftGlyph;
/**
- * The number of character maps in this face.
- */
- int numCharMaps;
-
- /**
* The number of glyphs in this face
*/
int numGlyphs;
diff --git a/src/FTFace.cpp b/src/FTFace.cpp
index 8010495..8ddc90d 100755
--- a/src/FTFace.cpp
+++ b/src/FTFace.cpp
@@ -5,7 +5,6 @@
FTFace::FTFace( const char* filename)
: charMap(0),
- numCharMaps(0),
numGlyphs(0),
err(0)
{
@@ -29,7 +28,6 @@ FTFace::FTFace( const char* filename)
FTFace::FTFace( const unsigned char *pBufferBytes, size_t bufferSizeInBytes )
: charMap(0),
- numCharMaps(0),
numGlyphs(0),
err(0)
{