pass font name
This commit is contained in:
parent
9c8d1ffabd
commit
05174b81fb
1 changed files with 4 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue