Skip to content

Instantly share code, notes, and snippets.

@GarthDB
Created September 2, 2012 07:03
Show Gist options
  • Save GarthDB/3595485 to your computer and use it in GitHub Desktop.
Save GarthDB/3595485 to your computer and use it in GitHub Desktop.
HiDPI Typekit Colophon
function onload () {
$('.typekit-badge').attr({src: '/img/typekit_colophon.svg'});
console.log($('.typekit-badge').attr('src'));
}
try{Typekit.load({active: onload});}catch(e){}
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="62px" height="25px" viewBox="0 0 62 25" enable-background="new 0 0 62 25" xml:space="preserve">
<path fill="#CCCCCC" d="M62,0H2C0.9,0,0,0.9,0,2v23h62V0z"/>
<path fill="#666666" d="M46.5,3C41.253,3,37,7.253,37,12.5s4.253,9.5,9.5,9.5s9.5-4.253,9.5-9.5S51.747,3,46.5,3z M52,12h-3v7
h-4.075L43,17.661V11h-0.886l-2.169-2H44v8h3V9h3V6.515l2,1.783V12z"/>
<g>
<path fill="#666666" d="M8.519,5.134h3.718l-0.2,0.989H9.499l-0.36,1.899h2.359l-0.19,0.979H8.949l-0.54,2.869H7.24L8.519,5.134z"
/>
<path fill="#666666" d="M17.467,8.912c0,1.649-1.159,3.068-2.818,3.068c-1.229,0-1.989-0.85-1.989-2.009
c0-1.649,1.149-3.078,2.809-3.078C16.777,6.893,17.467,7.833,17.467,8.912z M13.859,9.941c0,0.669,0.36,1.139,0.95,1.139
c0.87,0,1.449-1.199,1.449-2.169c0-0.5-0.22-1.119-0.93-1.119C14.399,7.792,13.859,9.032,13.859,9.941z"/>
<path fill="#666666" d="M18.67,11.87l0.63-3.358c0.12-0.58,0.19-1.09,0.25-1.509h1.029l-0.1,0.879h0.02
c0.45-0.66,1.069-0.989,1.749-0.989c0.69,0,1.239,0.419,1.239,1.339c0,0.22-0.04,0.56-0.09,0.81l-0.54,2.829h-1.16l0.52-2.749
c0.03-0.18,0.06-0.39,0.06-0.58c0-0.4-0.15-0.7-0.61-0.7c-0.53,0-1.209,0.64-1.419,1.779L19.83,11.87H18.67z"/>
<path fill="#666666" d="M27.358,5.664l-0.25,1.339h1.1l-0.18,0.899h-1.09l-0.39,1.969c-0.04,0.23-0.08,0.48-0.08,0.69
c0,0.26,0.12,0.43,0.43,0.43c0.14,0,0.28,0,0.399-0.02l-0.11,0.909c-0.17,0.06-0.479,0.1-0.76,0.1c-0.799,0-1.159-0.439-1.159-1
c0-0.28,0.03-0.549,0.11-0.909l0.42-2.169h-0.66l0.17-0.899h0.66l0.2-1.049L27.358,5.664z"/>
<path fill="#666666" d="M29.02,10.781c0.25,0.14,0.729,0.33,1.169,0.33c0.47-0.01,0.75-0.28,0.75-0.6c0-0.31-0.16-0.5-0.64-0.75
c-0.56-0.29-0.959-0.709-0.959-1.269c0-0.94,0.819-1.599,1.969-1.599c0.51,0,0.93,0.12,1.149,0.25l-0.3,0.84
c-0.18-0.1-0.51-0.22-0.909-0.22c-0.44,0-0.74,0.24-0.74,0.57c0,0.27,0.22,0.46,0.629,0.669c0.53,0.29,1.01,0.69,1.01,1.31
c0,1.069-0.899,1.659-2.069,1.659c-0.57,0-1.1-0.16-1.359-0.35L29.02,10.781z"/>
</g>
<g>
<path fill="#666666" d="M7.34,19.37l0.75-3.968H7.46l0.17-0.899h0.629l0.05-0.25c0.11-0.62,0.35-1.239,0.81-1.639
c0.36-0.31,0.83-0.45,1.279-0.45c0.34,0,0.59,0.06,0.72,0.13l-0.22,0.919c-0.12-0.05-0.28-0.08-0.47-0.08
c-0.55,0-0.86,0.51-0.97,1.14l-0.04,0.23h1.01l-0.17,0.899h-1.01l-0.75,3.968H7.34z"/>
<path fill="#666666" d="M10.979,19.37l0.57-2.999c0.13-0.689,0.19-1.429,0.25-1.869h1.009c-0.03,0.33-0.06,0.669-0.11,1.029h0.03
c0.33-0.66,0.86-1.139,1.529-1.139c0.08,0,0.17,0.01,0.25,0.02l-0.23,1.14c-0.06-0.01-0.14-0.02-0.22-0.02
c-0.83,0-1.359,0.839-1.549,1.879l-0.37,1.959H10.979z"/>
<path fill="#666666" d="M20.037,16.412c0,1.649-1.159,3.068-2.818,3.068c-1.229,0-1.989-0.85-1.989-2.009
c0-1.649,1.149-3.078,2.809-3.078C19.347,14.393,20.037,15.333,20.037,16.412z M16.429,17.441c0,0.669,0.36,1.139,0.95,1.139
c0.87,0,1.449-1.199,1.449-2.169c0-0.5-0.22-1.119-0.93-1.119C16.969,15.292,16.429,16.532,16.429,17.441z"/>
<path fill="#666666" d="M21.24,19.37l0.62-3.358c0.11-0.58,0.19-1.09,0.24-1.509h1.009l-0.1,0.85h0.01
c0.459-0.65,1.059-0.959,1.689-0.959c0.76,0,1.109,0.479,1.149,0.999c0.43-0.669,1.049-0.989,1.719-0.999
c0.669,0,1.189,0.43,1.189,1.299c0,0.21-0.04,0.57-0.08,0.83l-0.54,2.849h-1.129l0.51-2.718c0.03-0.2,0.07-0.42,0.07-0.62
c0-0.41-0.17-0.689-0.6-0.689c-0.529,0-1.119,0.67-1.309,1.699l-0.44,2.329h-1.119l0.52-2.758c0.04-0.2,0.06-0.39,0.06-0.57
c0-0.37-0.11-0.7-0.58-0.7c-0.54,0-1.16,0.729-1.339,1.719l-0.42,2.309H21.24z"/>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment