-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GoNotoCJKCore2005 to include coverage from NotoSans-Regular
- Loading branch information
Satish B
committed
Dec 13, 2021
1 parent
a2f281b
commit aa87233
Showing
3 changed files
with
56 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
"""Dumps all the codepoints covered in a given font, one per line""" | ||
|
||
import sys | ||
from fontTools.ttLib import TTFont | ||
|
||
with TTFont(sys.argv[1]) as ttf: | ||
for x in ttf["cmap"].tables: | ||
for code in x.cmap: | ||
print("U+%08X" % code) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters