def get_font_face(font_name: str, part: str, unicode: str, subset_filename: str):
    """Format @font-face string.

    Parameters:
        font_name: Font name
        part: subset part
        unicode: unicode range of the part
        subset_filename: woff2 filename of the subset

    Returns:
        css string of @font-face.
    """

    return f"""/* {font_name} [{part}] */
@font-face {{
    font-family: '{font_name.split("-")[0]}';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./woff2/{subset_filename}') format('woff2');
    unicode-range: {unicode}
}}
"""