- From: Peter Müller <munter@fumle.dk>
- Date: Wed, 19 Jun 2019 07:34:17 +0200
- To: "w3c-webfonts-wg (public-webfonts-wg@w3.org)" <public-webfonts-wg@w3.org>
I have worked on the font usage inspection a bit more. I created a tool called fontinspect specifically for the purpose of extracting the data about font usage on a single page. Try it out: `npx fontinspect https://sarasoueidan.com` Read more: https://www.npmjs.com/package/fontinspect If we get some data on user navigation patterns across multiple pages on the same site, I think the current data I extract should be diffable to know which codepoints need to be progressively loaded per navigation. Caveats: - The engine does not evaluate javascript, so any pages that are already optimizing their font loading with font face observer or similar scripts or js-based loading techniques will probably not yield correct results. The main portion of the analysis is done by https://www.npmjs.com/package/font-tracer which can also run in a browser, so if we need javascript evaluation we could write a similar tool using puppetteer and running the trace from it. - The memory usage while expanding all the different variations is quite steep. I've had node run out of memory while inspecting https://rwt.io (sorry Jason) -- Peter Müller http://mntr.dk On Tue, Jun 18, 2019 at 8:37 PM Levantovsky, Vladimir <Vladimir.Levantovsky@monotype.com> wrote: > > Hello WebFonts WG, > > > > We will have our regularly scheduled call this week (see [1] for connection details). > > Here is the proposed agenda topics: > > Discuss updated PFE analysis framework proposal [2] > - Input data [3, 4]; > - Analysis (discuss / agree on the cost function); > - Test logistics (discuss / agree on the proposed functions & font families); > Doodle poll results [5] > AOB > > > > Agenda+ proposals are welcome! > > Thank you, > > Vlad > > > > > > [1] https://lists.w3.org/Archives/Public/public-webfonts-wg/2019Apr/0024.html > > [2] https://docs.google.com/document/d/1kx62tpy5hGIbHh6tHMAryon9Sgye--W_IsHTeCMlmEo/edit#heading=h.yj685sf2tcb3 > > [3] https://docs.google.com/document/d/1kx62tpy5hGIbHh6tHMAryon9Sgye--W_IsHTeCMlmEo/edit#heading=h.r6ba2qdx0wbv > > [4] https://lists.w3.org/Archives/Public/public-webfonts-wg/2019May/0025.html > > [5] https://doodle.com/poll/p9shqwr38k5y6dzf > >
Received on Wednesday, 19 June 2019 05:34:53 UTC