- Remove svn:needs-lock, svn:eol-type, and svn:eol-tyle properties.
[reactos.git] / reactos / lib / 3rdparty / freetype / src / base / ftgasp.c
index b5611de..8485d29 100644 (file)
@@ -1,61 +1,61 @@
-/***************************************************************************/\r
-/*                                                                         */\r
-/*  ftgasp.c                                                               */\r
-/*                                                                         */\r
-/*    Access of TrueType's `gasp' table (body).                            */\r
-/*                                                                         */\r
-/*  Copyright 2007 by                                                      */\r
-/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */\r
-/*                                                                         */\r
-/*  This file is part of the FreeType project, and may only be used,       */\r
-/*  modified, and distributed under the terms of the FreeType project      */\r
-/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */\r
-/*  this file you indicate that you have read the license and              */\r
-/*  understand and accept it fully.                                        */\r
-/*                                                                         */\r
-/***************************************************************************/\r
-\r
-\r
-#include <ft2build.h>\r
-#include FT_GASP_H\r
-#include FT_INTERNAL_TRUETYPE_TYPES_H\r
-\r
-\r
-  FT_EXPORT_DEF( FT_Int )\r
-  FT_Get_Gasp( FT_Face  face,\r
-               FT_UInt  ppem )\r
-  {\r
-    FT_Int  result = FT_GASP_NO_TABLE;\r
-\r
-\r
-    if ( face && FT_IS_SFNT( face ) )\r
-    {\r
-      TT_Face  ttface = (TT_Face)face;\r
-\r
-\r
-      if ( ttface->gasp.numRanges > 0 )\r
-      {\r
-        TT_GaspRange  range     = ttface->gasp.gaspRanges;\r
-        TT_GaspRange  range_end = range + ttface->gasp.numRanges;\r
-\r
-\r
-        while ( ppem > range->maxPPEM )\r
-        {\r
-          range++;\r
-          if ( range >= range_end )\r
-            goto Exit;\r
-        }\r
-\r
-        result = range->gaspFlag;\r
-\r
-        /* ensure that we don't have spurious bits */\r
-        if ( ttface->gasp.version == 0 )\r
-          result &= 3;\r
-      }\r
-    }\r
-  Exit:\r
-    return result;\r
-  }\r
-\r
-\r
-/* END */\r
+/***************************************************************************/
+/*                                                                         */
+/*  ftgasp.c                                                               */
+/*                                                                         */
+/*    Access of TrueType's `gasp' table (body).                            */
+/*                                                                         */
+/*  Copyright 2007 by                                                      */
+/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
+/*                                                                         */
+/*  This file is part of the FreeType project, and may only be used,       */
+/*  modified, and distributed under the terms of the FreeType project      */
+/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
+/*  this file you indicate that you have read the license and              */
+/*  understand and accept it fully.                                        */
+/*                                                                         */
+/***************************************************************************/
+
+
+#include <ft2build.h>
+#include FT_GASP_H
+#include FT_INTERNAL_TRUETYPE_TYPES_H
+
+
+  FT_EXPORT_DEF( FT_Int )
+  FT_Get_Gasp( FT_Face  face,
+               FT_UInt  ppem )
+  {
+    FT_Int  result = FT_GASP_NO_TABLE;
+
+
+    if ( face && FT_IS_SFNT( face ) )
+    {
+      TT_Face  ttface = (TT_Face)face;
+
+
+      if ( ttface->gasp.numRanges > 0 )
+      {
+        TT_GaspRange  range     = ttface->gasp.gaspRanges;
+        TT_GaspRange  range_end = range + ttface->gasp.numRanges;
+
+
+        while ( ppem > range->maxPPEM )
+        {
+          range++;
+          if ( range >= range_end )
+            goto Exit;
+        }
+
+        result = range->gaspFlag;
+
+        /* ensure that we don't have spurious bits */
+        if ( ttface->gasp.version == 0 )
+          result &= 3;
+      }
+    }
+  Exit:
+    return result;
+  }
+
+
+/* END */