def make_text(text, width=None, **style):
    """Wrapper for split_first_line() creating a style dict."""
    new_style = INITIAL_VALUES.copy()
    new_style['font_family'] = MONO_FONTS.split(',')
    new_style.update(style)
    return split_first_line(
        text, new_style, context=None, max_width=width,
        justification_spacing=0)
Wrapper for split_first_line() creating a style dict.
tests/test_text.py