Font Files as Documents in SwiftUI App

I'm converting a document based app that reads font files to use the new SwiftUI App protocol. What do I need to do to be able to open font files (.ttf, .otf, .ttc) in the app?

Replies

I did some playing around and found that the identifiers I want are "public.truetype-ttf-font", "public.truetype-collection-font" and "public.opentype.font". With these I can define document type properties and imported type identifiers for the font files.