* src/tools/glnames.py (main): Emit header in `light' comment style.

This commit is contained in:
Werner Lemberg 2018-06-03 09:17:55 +02:00
parent 9ac9060df0
commit 02842872de
2 changed files with 26 additions and 22 deletions

View File

@ -1,3 +1,7 @@
2018-06-03 Werner Lemberg <wl@gnu.org>
* src/tools/glnames.py (main): Emit header in `light' comment style.
2018-06-02 Alexei Podtelezhnikov <apodtele@gmail.com>
[smooth] Attempt to mitigate bug #54019.

View File

@ -5310,24 +5310,24 @@ def main():
mac_extras_count = len( mac_extras )
base_list = mac_extras + sid_standard_names
write( "/***************************************************************************/\n" )
write( "/* */\n" )
write( "/****************************************************************************\n" )
write( " *\n" )
write( "/* %-71s*/\n" % os.path.basename( sys.argv[1] ) )
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( " * 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,