Compare commits

..

1 Commits

Author SHA1 Message Date
90a43e2491
codecVis: support DejaVu font on macOS 2023-02-24 16:18:13 +01:00

View File

@ -57,7 +57,7 @@ def extract_frame(video_file, time_offset, output_file):
def get_font_path():
if platform.system() == "Darwin":
# Assume DejaVu to be installed via Homebrew
# Assume DejaVu to be installed in the user library
path = "~/Library/Fonts/DejaVuSans-Bold.ttf"
return os.path.expanduser(path)