Commit d5e0a0cd2d4e52b7ec220ecc75fb66028be40725

henry 2004-05-09T07:22:41

Changed signed to unsigned for glyph indices

diff --git a/include/FTCharmap.h b/include/FTCharmap.h
index 30a07c1..74ca6f2 100644
--- a/include/FTCharmap.h
+++ b/include/FTCharmap.h
@@ -78,7 +78,7 @@ class FTGL_EXPORT FTCharmap
          * @return      The FTGlyphContainer index for the character or zero
          *              if it wasn't found
          */
-        signed int GlyphListIndex( const unsigned int characterCode);
+        unsigned int GlyphListIndex( const unsigned int characterCode);
 
         /**
          * Get the font glyph index of the input character.
@@ -87,7 +87,7 @@ class FTGL_EXPORT FTCharmap
          *                      the current encoding eg apple roman.
          * @return      The glyph index for the character.
          */
-        signed int FontIndex( const unsigned int characterCode);
+        unsigned int FontIndex( const unsigned int characterCode);
 
         /**
          * Set the FTGlyphContainer index of the character code.
diff --git a/include/FTGlyphContainer.h b/include/FTGlyphContainer.h
index 35ebc79..de668b6 100755
--- a/include/FTGlyphContainer.h
+++ b/include/FTGlyphContainer.h
@@ -51,7 +51,7 @@ class FTGL_EXPORT FTGlyphContainer
          *                      current encoding eg apple roman.
          * @return      The font index for the character.
          */
-        signed int FontIndex( const unsigned int characterCode ) const;
+        unsigned int FontIndex( const unsigned int characterCode ) const;
         
         /**
          * Adds a glyph to this glyph list.
diff --git a/src/FTCharmap.cpp b/src/FTCharmap.cpp
index 07ffac6..f2400ee 100644
--- a/src/FTCharmap.cpp
+++ b/src/FTCharmap.cpp
@@ -44,13 +44,13 @@ bool FTCharmap::CharMap( FT_Encoding encoding)
 }
 
 
-signed int FTCharmap::GlyphListIndex( unsigned int characterCode )
+unsigned int FTCharmap::GlyphListIndex( unsigned int characterCode )
 {
     return charMap.find( characterCode);
 }
 
 
-signed int FTCharmap::FontIndex( unsigned int characterCode )
+unsigned int FTCharmap::FontIndex( unsigned int characterCode )
 {
     return FT_Get_Char_Index( ftFace, characterCode);
 }
diff --git a/src/FTGlyphContainer.cpp b/src/FTGlyphContainer.cpp
index 5bd4a40..2c1881b 100755
--- a/src/FTGlyphContainer.cpp
+++ b/src/FTGlyphContainer.cpp
@@ -34,7 +34,7 @@ bool FTGlyphContainer::CharMap( FT_Encoding encoding)
 }
 
 
-signed int FTGlyphContainer::FontIndex( const unsigned int characterCode) const
+unsigned int FTGlyphContainer::FontIndex( const unsigned int characterCode) const
 {
     return charMap->FontIndex( characterCode);
 }