freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 0284287: * src/tools/glnames.py (main): Emit header i


From: Werner LEMBERG
Subject: [freetype2] master 0284287: * src/tools/glnames.py (main): Emit header in `light' comment style.
Date: Sun, 3 Jun 2018 03:18:04 -0400 (EDT)

branch: master
commit 02842872deb202f36cc473f790e3a555adb2c987
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    * src/tools/glnames.py (main): Emit header in `light' comment style.
---
 ChangeLog            |  4 ++++
 src/tools/glnames.py | 48 ++++++++++++++++++++++++------------------------
 2 files changed, 28 insertions(+), 24 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fc0eec9..917aa83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-03  Werner Lemberg  <address@hidden>
+
+       * src/tools/glnames.py (main): Emit header in `light' comment style.
+
 2018-06-02  Alexei Podtelezhnikov  <address@hidden>
 
        [smooth] Attempt to mitigate bug #54019.
diff --git a/src/tools/glnames.py b/src/tools/glnames.py
index b048d29..e88f710 100644
--- a/src/tools/glnames.py
+++ b/src/tools/glnames.py
@@ -5310,24 +5310,24 @@ def main():
   mac_extras_count = len( mac_extras )
   base_list        = mac_extras + sid_standard_names
 
-  write( 
"/***************************************************************************/\n"
 )
-  write( "/*                                                                   
      */\n" )
-
-  write( "/*  %-71s*/\n" % os.path.basename( sys.argv[1] ) )
-
-  write( "/*                                                                   
      */\n" )
-  write( "/*    PostScript glyph names.                                        
      */\n" )
-  write( "/*                                                                   
      */\n" )
-  write( "/*  Copyright 2005-2018 by                                           
      */\n" )
-  write( "/*  David Turner, Robert Wilhelm, and Werner Lemberg.                
      */\n" )
-  write( "/*                                                                   
      */\n" )
-  write( "/*  This file is part of the FreeType project, and may only be used, 
      */\n" )
-  write( "/*  modified, and distributed under the terms of the FreeType 
project      */\n" )
-  write( "/*  license, LICENSE.TXT.  By continuing to use, modify, or 
distribute     */\n" )
-  write( "/*  this file you indicate that you have read the license and        
      */\n" )
-  write( "/*  understand and accept it fully.                                  
      */\n" )
-  write( "/*                                                                   
      */\n" )
-  write( 
"/***************************************************************************/\n"
 )
+  write( 
"/****************************************************************************\n"
 )
+  write( " *\n" )
+
+  write( " * %-71s\n" % os.path.basename( sys.argv[1] ) )
+
+  write( " *\n" )
+  write( " *   PostScript glyph names.\n" )
+  write( " *\n" )
+  write( " * Copyright 2005-2018 by\n" )
+  write( " * David Turner, Robert Wilhelm, and Werner Lemberg.\n" )
+  write( " *\n" )
+  write( " * This file is part of the FreeType project, and may only be 
used,\n" )
+  write( " * modified, and distributed under the terms of the FreeType 
project\n" )
+  write( " * license, LICENSE.TXT.  By continuing to use, modify, or 
distribute\n" )
+  write( " * this file you indicate that you have read the license and\n" )
+  write( " * understand and accept it fully.\n" )
+  write( " *\n" )
+  write( " */\n" )
   write( "\n" )
   write( "\n" )
   write( "  /* This file has been generated automatically -- do not edit! 
*/\n" )
@@ -5361,12 +5361,12 @@ def main():
 
   write( """\
   /*
-   *  This table is a compressed version of the Adobe Glyph List (AGL),
-   *  optimized for efficient searching.  It has been generated by the
-   *  `glnames.py' python script located in the `src/tools' directory.
+   * This table is a compressed version of the Adobe Glyph List (AGL),
+   * optimized for efficient searching.  It has been generated by the
+   * `glnames.py' python script located in the `src/tools' directory.
    *
-   *  The lookup function to get the Unicode value for a given string
-   *  is defined below the table.
+   * The lookup function to get the Unicode value for a given string
+   * is defined below the table.
    */
 
 #ifdef FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
@@ -5380,7 +5380,7 @@ def main():
   write( """\
 #ifdef  DEFINE_PS_TABLES
   /*
-   *  This function searches the compressed table efficiently.
+   * This function searches the compressed table efficiently.
    */
   static unsigned long
   ft_get_adobe_glyph_index( const char*  name,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]