Skip to content

Commit

Permalink
add links_to_font_files
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaatalay committed Jan 25, 2025
1 parent 8bb39bc commit db87619
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rendercv_fonts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,13 @@
for font_famiy in available_font_families
}
paths_to_font_folders = [path for path in path_of.values()]
paths_to_font_files = [
font_file
for font_folder in paths_to_font_folders
for font_file in font_folder.rglob("*")
if font_file.is_file() and font_file.suffix not in {"", ".txt"}
]
links_to_font_files = [
f"https://raw.githubusercontent.com/rendercv/rendercv-fonts/main/rendercv_fonts/{font_path.relative_to(package_folder_path)}"
for font_path in paths_to_font_files
]

0 comments on commit db87619

Please sign in to comment.