shithub: freetype+ttf2subf

Download patch

ref: 04a64432541e8185eb176ce59ec6a08159ee5477
parent: eb2b5bb10754da426b4ea9da78fbb017f0bcb9ec
author: Werner Lemberg <wl@gnu.org>
date: Thu Dec 24 03:29:05 EST 2020

[sdf] Add copyright notices.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/sdf/ftbsdf.c
+++ b/src/sdf/ftbsdf.c
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftbsdf.c
+ *
+ *   Signed Distance Field support for bitmap fonts (body only).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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 <freetype/internal/ftobjs.h>
 #include <freetype/internal/ftdebug.h>
 #include <freetype/internal/ftmemory.h>
@@ -1312,5 +1331,6 @@
     (FT_Raster_Render_Func)  bsdf_raster_render,    /* raster_render   */
     (FT_Raster_Done_Func)    bsdf_raster_done       /* raster_done     */
   )
+
 
 /* END */
--- a/src/sdf/ftsdf.c
+++ b/src/sdf/ftsdf.c
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftsdf.c
+ *
+ *   Signed Distance Field support for outline fonts (body).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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 <freetype/internal/ftobjs.h>
 #include <freetype/internal/ftdebug.h>
 #include <freetype/fttrigon.h>
@@ -3968,5 +3987,6 @@
     (FT_Raster_Render_Func)  sdf_raster_render,    /* raster_render   */
     (FT_Raster_Done_Func)    sdf_raster_done       /* raster_done     */
   )
+
 
 /* END */
--- a/src/sdf/ftsdf.h
+++ b/src/sdf/ftsdf.h
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftsdf.h
+ *
+ *   Signed Distance Field support (specification).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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 FTSDF_H_
 #define FTSDF_H_
 
@@ -73,5 +92,6 @@
 FT_END_HEADER
 
 #endif /* FTSDF_H_ */
+
 
 /* END */
--- a/src/sdf/ftsdfcommon.h
+++ b/src/sdf/ftsdfcommon.h
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftsdfcommon.h
+ *
+ *   Auxiliary data for Signed Distance Field support (specification only).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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.
+ *
+ */
 
+
   /****************************************************
    *
    * This file contains common functions and properties
@@ -147,5 +166,6 @@
 FT_END_HEADER
 
 #endif /* FTSDFCOMMON_H_ */
+
 
 /* END */
--- a/src/sdf/ftsdferrs.h
+++ b/src/sdf/ftsdferrs.h
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftsdferrs.h
+ *
+ *   Signed Distance Field error codes (specification only).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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 FTSDFERRS_H_
 #define FTSDFERRS_H_
 
@@ -13,5 +32,6 @@
 #include <freetype/fterrors.h>
 
 #endif /* FTSDFERRS_H_ */
+
 
 /* END */
--- a/src/sdf/ftsdfrend.c
+++ b/src/sdf/ftsdfrend.c
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftsdfrend.c
+ *
+ *   Signed Distance Field renderer interface (body).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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 <freetype/internal/ftdebug.h>
 #include <freetype/internal/ftobjs.h>
 #include <freetype/internal/services/svprop.h>
@@ -568,5 +587,6 @@
 
     (FT_Raster_Funcs*)&ft_bitmap_sdf_raster       /* raster_class    */
   )
+
 
 /* END */
--- a/src/sdf/ftsdfrend.h
+++ b/src/sdf/ftsdfrend.h
@@ -1,4 +1,23 @@
+/****************************************************************************
+ *
+ * ftsdfrend.h
+ *
+ *   Signed Distance Field renderer interface (specification).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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 FTSDFREND_H_
 #define FTSDFREND_H_
 
@@ -94,5 +113,6 @@
 FT_END_HEADER
 
 #endif /* FTSDFREND_H_ */
+
 
 /* END */
--- a/src/sdf/sdf.c
+++ b/src/sdf/sdf.c
@@ -1,8 +1,28 @@
+/****************************************************************************
+ *
+ * sdf.c
+ *
+ *   FreeType Signed Distance Field renderer module component (body only).
+ *
+ * Copyright (C) 2020 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * Written by Anuj Verma.
+ *
+ * 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.
+ *
+ */
 
+
 #define FT_MAKE_OPTION_SINGLE_OBJECT
 
 #include "ftsdfrend.c"
 #include "ftbsdf.c"
 #include "ftsdf.c"
+
 
 /* END */