Add your font by overriding an existing one:
var config = VideoEditorConfig()
config.textEditorConfiguration.fonts = [
VideoTextFont(
font: UIFont(name: "Baskerville", size: 22.0),
name: "Baskerville"
),
VideoTextFont(
font: UIFont(name: "Courier", size: 22.0),
name: "Courier"
),
VideoTextFont(
font: UIFont(name: "Palatino", size: 22.0),
name: "Palatino"
),
VideoTextFont(
font: UIFont(name: "Noteworthy", size: 22.0),
name: "Noteworthy"
),
VideoTextFont(
font: UIFont(name: "Papyrus", size: 22.0),
name: "Papyrus"
),
VideoTextFont(
font: UIFont(name: "Sinhala Sangam MN", size: 22.0),
name: "Sinhala"
),
VideoTextFont(
font: UIFont(name: "Menlo", size: 22.0),
name: "Menlo"
),
VideoTextFont(
font: UIFont(name: "Apple Color Emoji", size: 22.0),
name: "Emoji"
),
VideoTextFont(
font: UIFont(name: "Avenir Next Bold", size: 22.0),
name: "Avenir"
)
... Add yours
]