Skip to content
  • Behdad Esfahbod's avatar
    Take zerowidth and double-width chars into consideration when computing · d2a9b31e
    Behdad Esfahbod authored
    2007-01-03  Behdad Esfahbod  <behdad@gnome.org>
    
            * glib/goption.c (_g_unichar_get_width), (_g_utf8_strwidth),
            (calculate_max_length), (print_entry), (print_help): Take zerowidth
            and double-width chars into consideration when computing width of a
            string.  Also fix another bug in width computation.
    
            * glib/guniprop.c (g_unichar_iszerowidth): Fix typo.  It was not
            working correctly.
    
    
    svn path=/trunk/; revision=5204
    d2a9b31e