1
0
mirror of https://github.com/google/fonts.git synced 2025-01-07 10:11:37 +03:00

[tools] Format codepoints according to the Namelist spec.

This commit is contained in:
Lasse Fister 2017-02-10 18:39:27 +01:00
parent 72b49bd4d7
commit e57d7142a0

View File

@ -31,7 +31,7 @@ def main(file_name):
for item in char_list:
item_description = Unicode[item[0]]
if item_description not in excluded_chars:
print hex(item[0]), item_description
print '0x{0:04X}'.format(item[0]), item_description
font.close()
if __name__ == '__main__':