Commit 89367de7d274a157969c3516a7c4348d894e5289

henry 2004-09-29T23:09:53

Removed the pixels per em function because no one is using them. Added a test to bail early if the client is setting the size to the existing size.

diff --git a/include/FTSize.h b/include/FTSize.h
index 31f6bb6..d18d70e 100755
--- a/include/FTSize.h
+++ b/include/FTSize.h
@@ -94,10 +94,6 @@ class FTGL_EXPORT FTSize
          */
         float Underline() const;
 
-        unsigned int XPixelsPerEm() const;
-
-        unsigned int YPixelsPerEm() const;
-
         /**
          * Queries for errors.
          *
@@ -120,7 +116,17 @@ class FTGL_EXPORT FTSize
          *  The size in points.
          */
         unsigned int size;
-        
+
+        /**
+         *  The horizontal resolution.
+         */
+        unsigned int xResolution;
+
+        /**
+         *  The vertical resolution.
+         */
+        unsigned int yResolution;
+
         /**
          * Current error code. Zero means no error.
          */