From b44516f81d70463d18d3d245ee038f5a17704cda Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Wed, 19 Apr 2017 11:28:23 -0400 Subject: [PATCH] Updating readme to reference CDN fixes --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 814d27c..b94964c 100644 --- a/README.md +++ b/README.md @@ -16,23 +16,23 @@ To use Keyrune via source, NPM, or Bower, move the font files to your `/fonts` d ``` -**NEW:** you can now include Keyrune via CDN thanks to the amazing [jdDelivr](http://jsdelivr.com) project! To include the latest version: +**NEW:** you can now include Keyrune via CDN thanks to the amazing [jdDelivr](http://jsdelivr.com) project! To include the latest version, reference: ```html - + ``` -**Note:** jsDelivr does not maintain the directory structure and we're working on resolving this; for now you should also include the font files separately via `@font-face`, e.g.: +**Note:** as of v2.2.3 jsDelivr now DOES maintain the directory structure. **You no longer need to explicitly include the font-family via `@font-face`**, but if you still would like to here is the css ruleset: ```css @font-face { font-family: 'Keyrune'; - src: url('//cdn.jsdelivr.net/keyrune/latest/keyrune.eot'); - src: url('//cdn.jsdelivr.net/keyrune/latest/keyrune.eot?#iefix') format('embedded-opentype'), - url('//cdn.jsdelivr.net/keyrune/latest/keyrune.woff2') format('woff2'), - url('//cdn.jsdelivr.net/keyrune/latest/keyrune.woff') format('woff'), - url('//cdn.jsdelivr.net/keyrune/latest/keyrune.ttf') format('truetype'), - url('//cdn.jsdelivr.net/keyrune/latest/keyrune.svg') format('svg'); + src: url('//cdn.jsdelivr.net/keyrune/latest/fonts/keyrune.eot'); + src: url('//cdn.jsdelivr.net/keyrune/latest/fonts/keyrune.eot?#iefix') format('embedded-opentype'), + url('//cdn.jsdelivr.net/keyrune/latest/fonts/keyrune.woff2') format('woff2'), + url('//cdn.jsdelivr.net/keyrune/latest/fonts/keyrune.woff') format('woff'), + url('//cdn.jsdelivr.net/keyrune/latest/fonts/keyrune.ttf') format('truetype'), + url('//cdn.jsdelivr.net/keyrune/latest/fonts/keyrune.svg') format('svg'); font-weight: normal; font-style: normal; }