mirror of
https://github.com/google/fonts.git
synced 2025-01-08 10:38:17 +03:00
[tools] Format codepoints according to the Namelist spec.
This commit is contained in:
parent
72b49bd4d7
commit
e57d7142a0
@ -31,7 +31,7 @@ def main(file_name):
|
|||||||
for item in char_list:
|
for item in char_list:
|
||||||
item_description = Unicode[item[0]]
|
item_description = Unicode[item[0]]
|
||||||
if item_description not in excluded_chars:
|
if item_description not in excluded_chars:
|
||||||
print hex(item[0]), item_description
|
print '0x{0:04X}'.format(item[0]), item_description
|
||||||
font.close()
|
font.close()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user