Delete all Trailing spaces in code.
[reactos.git] / reactos / dll / 3rdparty / freetype / src / cid / cidobjs.h
index aee346d..95ee3f0 100644 (file)
-/***************************************************************************/
-/*                                                                         */
-/*  cidobjs.h                                                              */
-/*                                                                         */
-/*    CID objects manager (specification).                                 */
-/*                                                                         */
-/*  Copyright 1996-2001, 2002, 2004, 2006 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.                                        */
-/*                                                                         */
-/***************************************************************************/
-
-
-#ifndef __CIDOBJS_H__
-#define __CIDOBJS_H__
-
-
-#include <ft2build.h>
-#include FT_INTERNAL_OBJECTS_H
-#include FT_CONFIG_CONFIG_H
-#include FT_INTERNAL_TYPE1_TYPES_H
-
-
-FT_BEGIN_HEADER
-
-
-  /* The following structures must be defined by the hinter */
-  typedef struct CID_Size_Hints_   CID_Size_Hints;
-  typedef struct CID_Glyph_Hints_  CID_Glyph_Hints;
-
-
-  /*************************************************************************/
-  /*                                                                       */
-  /* <Type>                                                                */
-  /*    CID_Driver                                                         */
-  /*                                                                       */
-  /* <Description>                                                         */
-  /*    A handle to a Type 1 driver object.                                */
-  /*                                                                       */
-  typedef struct CID_DriverRec_*  CID_Driver;
-
-
-  /*************************************************************************/
-  /*                                                                       */
-  /* <Type>                                                                */
-  /*    CID_Size                                                           */
-  /*                                                                       */
-  /* <Description>                                                         */
-  /*    A handle to a Type 1 size object.                                  */
-  /*                                                                       */
-  typedef struct CID_SizeRec_*  CID_Size;
-
-
-  /*************************************************************************/
-  /*                                                                       */
-  /* <Type>                                                                */
-  /*    CID_GlyphSlot                                                      */
-  /*                                                                       */
-  /* <Description>                                                         */
-  /*    A handle to a Type 1 glyph slot object.                            */
-  /*                                                                       */
-  typedef struct CID_GlyphSlotRec_*  CID_GlyphSlot;
-
-
-  /*************************************************************************/
-  /*                                                                       */
-  /* <Type>                                                                */
-  /*    CID_CharMap                                                        */
-  /*                                                                       */
-  /* <Description>                                                         */
-  /*    A handle to a Type 1 character mapping object.                     */
-  /*                                                                       */
-  /* <Note>                                                                */
-  /*    The Type 1 format doesn't use a charmap but an encoding table.     */
-  /*    The driver is responsible for making up charmap objects            */
-  /*    corresponding to these tables.                                     */
-  /*                                                                       */
-  typedef struct CID_CharMapRec_*  CID_CharMap;
-
-
-  /*************************************************************************/
-  /*                                                                       */
-  /* HERE BEGINS THE TYPE 1 SPECIFIC STUFF                                 */
-  /*                                                                       */
-  /*************************************************************************/
-
-
-  typedef struct  CID_SizeRec_
-  {
-    FT_SizeRec  root;
-    FT_Bool     valid;
-
-  } CID_SizeRec;
-
-
-  typedef struct  CID_GlyphSlotRec_
-  {
-    FT_GlyphSlotRec  root;
-
-    FT_Bool          hint;
-    FT_Bool          scaled;
-
-    FT_Fixed         x_scale;
-    FT_Fixed         y_scale;
-
-  } CID_GlyphSlotRec;
-
-
-  FT_LOCAL( void )
-  cid_slot_done( FT_GlyphSlot  slot );
-
-  FT_LOCAL( FT_Error )
-  cid_slot_init( FT_GlyphSlot  slot );
-
-
-  FT_LOCAL( void )
-  cid_size_done( FT_Size  size );       /* CID_Size */
-
-  FT_LOCAL( FT_Error )
-  cid_size_init( FT_Size  size );       /* CID_Size */
-
-  FT_LOCAL( FT_Error )
-  cid_size_request( FT_Size          size,      /* CID_Size */
-                    FT_Size_Request  req );
-
-  FT_LOCAL( FT_Error )
-  cid_face_init( FT_Stream      stream,
-                 FT_Face        face,           /* CID_Face */
-                 FT_Int         face_index,
-                 FT_Int         num_params,
-                 FT_Parameter*  params );
-
-  FT_LOCAL( void )
-  cid_face_done( FT_Face  face );               /* CID_Face */
-
-
-  FT_LOCAL( FT_Error )
-  cid_driver_init( FT_Module  driver );
-
-  FT_LOCAL( void )
-  cid_driver_done( FT_Module  driver );
-
-
-FT_END_HEADER
-
-#endif /* __CIDOBJS_H__ */
-
-
-/* END */
+/***************************************************************************/\r
+/*                                                                         */\r
+/*  cidobjs.h                                                              */\r
+/*                                                                         */\r
+/*    CID objects manager (specification).                                 */\r
+/*                                                                         */\r
+/*  Copyright 1996-2001, 2002, 2004, 2006 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
+#ifndef __CIDOBJS_H__\r
+#define __CIDOBJS_H__\r
+\r
+\r
+#include <ft2build.h>\r
+#include FT_INTERNAL_OBJECTS_H\r
+#include FT_CONFIG_CONFIG_H\r
+#include FT_INTERNAL_TYPE1_TYPES_H\r
+\r
+\r
+FT_BEGIN_HEADER\r
+\r
+\r
+  /* The following structures must be defined by the hinter */\r
+  typedef struct CID_Size_Hints_   CID_Size_Hints;\r
+  typedef struct CID_Glyph_Hints_  CID_Glyph_Hints;\r
+\r
+\r
+  /*************************************************************************/\r
+  /*                                                                       */\r
+  /* <Type>                                                                */\r
+  /*    CID_Driver                                                         */\r
+  /*                                                                       */\r
+  /* <Description>                                                         */\r
+  /*    A handle to a Type 1 driver object.                                */\r
+  /*                                                                       */\r
+  typedef struct CID_DriverRec_*  CID_Driver;\r
+\r
+\r
+  /*************************************************************************/\r
+  /*                                                                       */\r
+  /* <Type>                                                                */\r
+  /*    CID_Size                                                           */\r
+  /*                                                                       */\r
+  /* <Description>                                                         */\r
+  /*    A handle to a Type 1 size object.                                  */\r
+  /*                                                                       */\r
+  typedef struct CID_SizeRec_*  CID_Size;\r
+\r
+\r
+  /*************************************************************************/\r
+  /*                                                                       */\r
+  /* <Type>                                                                */\r
+  /*    CID_GlyphSlot                                                      */\r
+  /*                                                                       */\r
+  /* <Description>                                                         */\r
+  /*    A handle to a Type 1 glyph slot object.                            */\r
+  /*                                                                       */\r
+  typedef struct CID_GlyphSlotRec_*  CID_GlyphSlot;\r
+\r
+\r
+  /*************************************************************************/\r
+  /*                                                                       */\r
+  /* <Type>                                                                */\r
+  /*    CID_CharMap                                                        */\r
+  /*                                                                       */\r
+  /* <Description>                                                         */\r
+  /*    A handle to a Type 1 character mapping object.                     */\r
+  /*                                                                       */\r
+  /* <Note>                                                                */\r
+  /*    The Type 1 format doesn't use a charmap but an encoding table.     */\r
+  /*    The driver is responsible for making up charmap objects            */\r
+  /*    corresponding to these tables.                                     */\r
+  /*                                                                       */\r
+  typedef struct CID_CharMapRec_*  CID_CharMap;\r
+\r
+\r
+  /*************************************************************************/\r
+  /*                                                                       */\r
+  /* HERE BEGINS THE TYPE 1 SPECIFIC STUFF                                 */\r
+  /*                                                                       */\r
+  /*************************************************************************/\r
+\r
+\r
+  typedef struct  CID_SizeRec_\r
+  {\r
+    FT_SizeRec  root;\r
+    FT_Bool     valid;\r
+\r
+  } CID_SizeRec;\r
+\r
+\r
+  typedef struct  CID_GlyphSlotRec_\r
+  {\r
+    FT_GlyphSlotRec  root;\r
+\r
+    FT_Bool          hint;\r
+    FT_Bool          scaled;\r
+\r
+    FT_Fixed         x_scale;\r
+    FT_Fixed         y_scale;\r
+\r
+  } CID_GlyphSlotRec;\r
+\r
+\r
+  FT_LOCAL( void )\r
+  cid_slot_done( FT_GlyphSlot  slot );\r
+\r
+  FT_LOCAL( FT_Error )\r
+  cid_slot_init( FT_GlyphSlot  slot );\r
+\r
+\r
+  FT_LOCAL( void )\r
+  cid_size_done( FT_Size  size );       /* CID_Size */\r
+\r
+  FT_LOCAL( FT_Error )\r
+  cid_size_init( FT_Size  size );       /* CID_Size */\r
+\r
+  FT_LOCAL( FT_Error )\r
+  cid_size_request( FT_Size          size,      /* CID_Size */\r
+                    FT_Size_Request  req );\r
+\r
+  FT_LOCAL( FT_Error )\r
+  cid_face_init( FT_Stream      stream,\r
+                 FT_Face        face,           /* CID_Face */\r
+                 FT_Int         face_index,\r
+                 FT_Int         num_params,\r
+                 FT_Parameter*  params );\r
+\r
+  FT_LOCAL( void )\r
+  cid_face_done( FT_Face  face );               /* CID_Face */\r
+\r
+\r
+  FT_LOCAL( FT_Error )\r
+  cid_driver_init( FT_Module  driver );\r
+\r
+  FT_LOCAL( void )\r
+  cid_driver_done( FT_Module  driver );\r
+\r
+\r
+FT_END_HEADER\r
+\r
+#endif /* __CIDOBJS_H__ */\r
+\r
+\r
+/* END */\r