Compare commits
1 Commits
799052460c
...
90a43e2491
Author | SHA1 | Date | |
---|---|---|---|
90a43e2491 |
@ -57,7 +57,7 @@ def extract_frame(video_file, time_offset, output_file):
|
|||||||
|
|
||||||
def get_font_path():
|
def get_font_path():
|
||||||
if platform.system() == "Darwin":
|
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"
|
path = "~/Library/Fonts/DejaVuSans-Bold.ttf"
|
||||||
return os.path.expanduser(path)
|
return os.path.expanduser(path)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user