diff --git a/lib/exp/browser.tsx b/lib/exp/browser.tsx index 8f484fd..f2f3888 100644 --- a/lib/exp/browser.tsx +++ b/lib/exp/browser.tsx @@ -34,7 +34,14 @@ export async function windowQueryLocalFonts (): Promise return undefined } - return localfonts.map((x) => x) + return localfonts.map((x) => { + return { + postscriptName: x.postscriptName, + fullName: x.fullName, + family: x.family, + style: x.style + } + }) } // https://wicg.github.io/netinfo/#-dfn-networkinformation-dfn-interface