def format_name(voter):
    """Given a register.Citizen instance, returns the voter's name formatted appropriately for
    addition to the PDFs.
    """
    fields = ['first_name', 'father_name', 'grandfather_name', 'family_name']
    # ltr here, because bidi flips output
    return ' '.join([getattr(voter, field) for field in fields])