Alex Volkov commited on
Commit
09cee30
1 Parent(s): 6e73d37

Added Helvetica world

Browse files
Files changed (2) hide show
  1. fonts/HelveticaWorld-Bold.ttf +0 -0
  2. utils/subs.py +2 -2
fonts/HelveticaWorld-Bold.ttf ADDED
Binary file (470 kB). View file
 
utils/subs.py CHANGED
@@ -10,8 +10,8 @@ from typing import Iterator, TextIO
10
  def bake_subs(input_file, output_file, subs_file, fontsdir, translate_action):
11
  print(f"Baking {subs_file} into video... {input_file} -> {output_file}")
12
 
13
- fontfile = fontsdir / 'arial.ttf'
14
- fontname = 'Arial'
15
  if translate_action:
16
  fontfile = fontsdir / 'Poppins-Black.ttf'
17
  fontname = 'Poppins'
 
10
  def bake_subs(input_file, output_file, subs_file, fontsdir, translate_action):
11
  print(f"Baking {subs_file} into video... {input_file} -> {output_file}")
12
 
13
+ fontfile = fontsdir / 'HelveticaWorld-Bold.ttf'
14
+ fontname = 'Helvetica World'
15
  if translate_action:
16
  fontfile = fontsdir / 'Poppins-Black.ttf'
17
  fontname = 'Poppins'