pass font name

This commit is contained in:
j 2018-09-09 14:26:21 +02:00
parent 9c8d1ffabd
commit 05174b81fb

View file

@ -46,7 +46,7 @@ generator_template = '''<generatoritem id="Text">
<parameter>
<parameterid>fontname</parameterid>
<name>Font</name>
<value>Courier New</value>
<value>%(font)s</value>
</parameter>
<parameter>
<parameterid>fontsize</parameterid>
@ -292,6 +292,8 @@ class Fcp:
sequences = []
fps = 25
fontsize = 18
font = 'Courier New'
#font = 'Lucida Grande'
def __init__(self):
pass
@ -331,6 +333,7 @@ class Fcp:
'duration': end-start,
'text': text,
'fontsize': self.fontsize,
'font': self.font,
}
def save(self, output):