Compare commits

..

1 Commits

Author SHA1 Message Date
799052460c
codecVis: support DejaVu font on macOS 2023-01-01 19:16: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 in the user library
# Assume DejaVu to be installed via Homebrew
path = "~/Library/Fonts/DejaVuSans-Bold.ttf"
return os.path.expanduser(path)