• Show log

    Commit

  • Hash : c87fec02
    Author : Werner Lemberg
    Date : 2017-08-09T07:45:12

    [psnames] Really fix issue #49949.
    
    We now use a separate preprocessor macro to handle both definition
    and declaration of the glyph name arrays.
    
    * src/psnames/psmodule.c (DEFINE_PS_TABLE_DATA): New macro.
    
    * src/tools/glnames.py (StringTable::dump,
    StringTable::dump_sublist): Use `DEFINE_PS_TABLE_DATA'.
    (dump_encoding): Ditto.
    (main): Use `wb' mode for writing the output file, which works on
    Windows also.
    
    * src/psnames/pstables.h: Regenerated.