resource font-key {
name: func() -> string
italic: func() -> bool
stretch: func() ->string
weight: func() -> u32
}
resource font {}
resource font-kit {
add-font-from-buffer: func(buffer: list<u8>) -> list<font-key>
query: func(key: font-key) -> option<font>
}