{"id":1423,"date":"2016-12-06T11:01:30","date_gmt":"2016-12-06T05:01:30","guid":{"rendered":"http:\/\/promincproductions.com\/blog?p=1423&#038;preview=true&#038;preview_id=1423"},"modified":"2016-12-06T11:22:27","modified_gmt":"2016-12-06T05:22:27","slug":"website-font-file-usage-analyzer","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/website-font-file-usage-analyzer\/","title":{"rendered":"Website Font File Usage Analyzer"},"content":{"rendered":"<p>I&#8217;m sure you&#8217;ve been there&#8230; \u00a0you started working on an established website and notice there are a few different fonts used. \u00a0Fine. \u00a0But wait, why are there 10 fonts being loaded? \u00a0Why do we need so many? \u00a0Are these styles actually being displayed on the site?<\/p>\n<p>Trying to investigate this scenario takes a bit of effort&#8230; \u00a0digging through element by element to see what font is used. \u00a0There are some good tools for this outside of web browser developer tool, such as:<\/p>\n<ul>\n<li><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/whatfont\/jabopobgcpjmedljpbcaablpmlmfcogm?hl=en\" data-lasso-id=\"621\">WhatFont<\/a><\/li>\n<li><a href=\"https:\/\/fount.artequalswork.com\/\" data-lasso-id=\"622\">Fount<\/a>\u00a0<\/li>\n<\/ul>\n<p>But there has to be a better way than going through the page element by element. \u00a0Yet I couldn&#8217;t find one&#8230; until I wrote it that is!<\/p>\n<h2>Introducing the Website Used Fonts Analyzer Bookmarklet<\/h2>\n<h3>What does it do?<\/h3>\n<p>With the click of a button, the current webpage you are viewing is scanned element by element for what font it uses. This is compiled into a report that is displayed, telling you:<\/p>\n<ul>\n<li>How many font files are used on the page<\/li>\n<li>How many times each font is used on the page<\/li>\n<li>What font each element uses<\/li>\n<\/ul>\n<h3>How to use it?<\/h3>\n<ul>\n<li>Create the bookmarklet by following the directions on the github page.\u00a0\n<ul>\n<li>This is a one-time step per web browser<\/li>\n<\/ul>\n<\/li>\n<li>Navigate to the web page you wish to analyze.<\/li>\n<li>Click on the bookmarklet link.<\/li>\n<li>Read the report.<\/li>\n<li>Smile that in seconds you have a list of all of the fonts used on the page and you can now finish your cup of coffee stress free!<\/li>\n<\/ul>\n<figure id=\"attachment_1426\" aria-describedby=\"caption-attachment-1426\" style=\"width: 500px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1.png\" rel=\"attachment wp-att-426\" data-lasso-id=\"623\" data-rel=\"lightbox-gallery-c0zSOqHq\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" class=\"size-medium wp-image-1426\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1-500x276.png\" alt=\"A smoke report showing all of the fonts used on a webpage and a list of what element used what font.\" width=\"500\" height=\"276\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1-500x276.png 500w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1-768x423.png 768w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1-1024x565.png 1024w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1-150x83.png 150w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1-600x331.png 600w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1.png 1373w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-1426\" class=\"wp-caption-text\">A smoke report showing all of the fonts used on a webpage and a list of what element used what font.<\/figcaption><\/figure>\n<h3>How to install the bookmarklet<\/h3>\n<p>All of the setup information you need can be found at the GitHub repository page.<\/p>\n<p><a href=\"https:\/\/github.com\/PromInc\/Website-Used-Fonts-Analyzer-Bookmarklet\" data-lasso-id=\"624\">https:\/\/github.com\/PromInc\/Website-Used-Fonts-Analyzer-Bookmarklet<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m sure you&#8217;ve been there&#8230; \u00a0you started working on an established website and notice there are a few [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[48,5],"tags":[],"class_list":["post-1423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-website-development"],"jetpack_featured_media_url":"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2016\/12\/PromInc-Website-Fonts-Used-Analyzer-Example-Report-1.png","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-mX","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/1423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=1423"}],"version-history":[{"count":2,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/1423\/revisions"}],"predecessor-version":[{"id":1427,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/1423\/revisions\/1427"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media\/1426"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=1423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=1423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=1423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}