import typing
from pathlib import Path


def font_files(iterable: typing.Iterable[typing.Any]) -> typing.List[Path]:
    """Returns a list of font files from a collection of Paths."""
    return [Path(p) for p in iterable if p.name.lower().endswith((".otf", ".ttf"))]