Skip to content

Commit

Permalink
fix: clear classical index when doing update
Browse files Browse the repository at this point in the history
  • Loading branch information
NCBM committed Sep 21, 2024
1 parent 2c74adb commit 00203b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fontra/fontdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def _ft_open_face(fn: Path, index: int = 0) -> freetype.Face:
def update_fontrefs_index() -> None:
"""Update font references index."""
indexed_fontrefs.clear()
indexed_classical_fontrefs.clear()
indexed_langnames.clear()
for fn in (*_indexed_fontfiles_system, *_indexed_fontfiles_custom):
try:
Expand Down

0 comments on commit 00203b0

Please sign in to comment.