But that would mean the `fontface` delegate would ...
# tornadofx
r
But that would mean the
fontface
delegate would have to be a String to use with the
fontFamily
property. Something like:
Copy code
val customFont by cssclass()
val font: String by fontface("MyFont.ttf")

customFont {
    fontFamily = font
}