1(function(d) { 2 // https://www.kirupa.com/html5/detect_whether_font_is_installed.htm 3 var canvas = document.createElement("canvas"); 4 var context = canvas.getContext("2d"); 5 var text = "abcdefghijklmnopqrstuvwxyz0123456789"; 6 context.font = "72px monospace"; 7 var size = context.measureText(text).width; 8 var fonts = [' SC', ' CN', ' TC', ' TW', '']; 9 for (var i = 0; i < fonts.length; i++) { 10 context.font = "72px '" + 'Source Han Serif' + fonts[i] + "', monospace"; 11 // no need to load TypeKit if Source Hans Serif has been installed 12 if (context.measureText(text).width != size) return; 13 } 14 var config = {kitId: 'kwz5xar', scriptTimeout: 3000, async: true}, 15 h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s) 16})(document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.