@mocanvas/editor · function
declare function fontKey(face: TLFontFace): stringIdentity of a face for deduplication: two faces are the same request when every descriptor matches. Deliberately not object identity — the same face is routinely rebuilt from a table on each call.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.