Skip to content

Commit

Permalink
fontsearch: Show more fonts and glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Sep 16, 2024
1 parent 8b0fa69 commit 443bb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fontsearch.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import collections
import subprocess
import requests
FONTS = "Lexend", "Noto+Emoji", "Noto+Sans+Symbols+2"
FONTS = "Lexend", "Noto+Color+Emoji", "Noto+Sans+Symbols+2"

r = requests.get("https://fonts.googleapis.com/css?family=" + "|".join(FONTS), headers={"User-Agent": "Mozilla/5.0 Firefox/90.0"})
r.raise_for_status()
Expand Down Expand Up @@ -32,6 +32,6 @@
for c in range(int(start, 16), int(end, 16) + 1):
avail[c].append(font)

for c in "πŸ–‰β―‡β£Ώ":
for c in "πŸ–‰β―‡β£ΏπŸ”’πŸ’ŽπŸ‘ͺ🌞🌚":
print("U+%04X" % ord(c), c, avail[ord(c)])
subprocess.run(["fc-list", ":charset=" + hex(ord(c))])

0 comments on commit 443bb95

Please sign in to comment.