mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 08:50:48 +00:00
Format twiddles
This commit is contained in:
@@ -13,6 +13,7 @@ from .common import GRect
|
||||
|
||||
import datetime
|
||||
|
||||
|
||||
def draw_header_block(canvas, rect, record):
|
||||
rect.draw_text_cell(canvas, record['Cue Number'], "Helvetica", 44, vertical_align='m')
|
||||
|
||||
@@ -172,7 +173,8 @@ def draw_aux_block(canvas, rect, recording_time_sec_this_line, recording_time_se
|
||||
content_rect = rect.inset_xy(10., 10.)
|
||||
lines, last_line = content_rect.divide_y([12., 12., 24., 24., 24., 24.], direction='d')
|
||||
|
||||
lines[0].draw_text_cell(canvas, "Time for this line: %.1f mins" % (recording_time_sec_this_line / 60.), "Futura", 9.)
|
||||
lines[0].draw_text_cell(canvas,
|
||||
"Time for this line: %.1f mins" % (recording_time_sec_this_line / 60.), "Futura", 9.)
|
||||
lines[1].draw_text_cell(canvas, "Running time: %03.1f mins" % (recording_time_sec / 60.), "Futura", 9.)
|
||||
lines[2].draw_text_cell(canvas, "Actual Start: ______________", "Futura", 9., vertical_align='b')
|
||||
lines[3].draw_text_cell(canvas, "Record Date: ______________", "Futura", 9., vertical_align='b')
|
||||
@@ -241,5 +243,3 @@ def output_report(records):
|
||||
|
||||
for n in character_numbers:
|
||||
create_report_for_character([e for e in events if e['CN'] == n], report_date)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user