Asset Fonts
 (in 10 minutes)
What are
Asset Fonts?









Why Resolution
Independence?
Photo by miguel77
http://flic.kr/p/a7H5jd
@2×
@?×
`




@0.25×
          `


         @0.5×
                 `
                 @1×
                       `
                       @2×
                             `
                             @4×
                                   `
                                   @8×
Like Magic!



         Photo by eva.pébar
      http://flic.kr/p/9hBrtv
Good for Grandma™
Why Asset Fonts?
assets.png
             ✓
             assets.ttf
✓
✓       ✓


✓
    ✓       ✓
✓
×
How Do I
Create One?
joshe.me/asset-fonts
icomoon.io
How Do I
 Use It?
.icon:before {
   content: 'xe012';
   font-family: 'Cleardings';
   speak: none;
}
C SS
 .icon:before {
    content: attr(data-icon);
    font-family: 'Cleardings';
    speak: none;
 }
                                  HTML
<a data-icon="&#xe012;" href="http://
twitter.com/clearleft">@clearleft</a>
C SS
 [data-icon]:before {
   content: attr(data-icon);
   font-family: 'Cleardings';
   speak: none;
 }
                                  HTML
<a data-icon="&#xe012;" href="http://
twitter.com/clearleft">@clearleft</a>
What About
 Ligature
Asset Fonts?
fi   fi
fl   fl
symbolset.com
forecast.is
forecast.is
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
-o-font-feature-settings: "liga";
font-feature-settings: "liga";
19k
            b




climaliga.woff
Go forth and
create resolution
 independence!
Thanks For
   Listening
                       Fork I
         @joshje                t!
github.com/joshje/forecast

Asset Fonts