Page 13

This week’s (I say as if these have been consistent) font rec is a limited-time free good on Creative Market. Forbidden Isle is a great 70s style tiki number and available free for three more days so get it fast. 

Download at Creative Market.

New Font Alert!

Mistletoe Font Poster

I wanted to get this out earlier but at least it’s (barely) pre-Thanksgiving.

Mistletoe is a mutli-colored font to brighten up the holiday season. It contains hand drawn, thick serif lettering with a leaf and berry pattern inside. It’s an all caps font and better for display situations than long blocks of text.

Color fonts are supported in Illustrator CC 2018 and Photoshop CC 2017 plus Firefox and Microsoft Edge on the web. This package also includes a single color fallback variation. For more information on the technical side of color fonts, checkout colorfonts.wtf.

This is my first color font and the first font I’ve created with the Glyphs app so if you have any technical issues — even if you’re using the free personal version — please let me know so I can get them fixed. Also, I’ve been trying to figure out if additional palettes would be overkill or a welcome feature so feel free to share that or any other feedback.

Download it here.

Get Ready for Some Color Fonts

Later this week I’ll be releasing my first attempt at a color font so it seems like a good time to look at some of the awesome examples that are already out there.

If you need a quick overview of color fonts - how they work, where you can use them, etc. - colorfonts.wtf and Adobe Typekit have helpful primers. Unfortunately, support on the web (Firefox and Microsoft Edge only) isn’t great just yet but these fonts are still worth checking out now.

Free Fonts

Bungee by David Jonathan Ross Font Poster

Bungee by David Jonathan Ross

Not only is this font great, this page is a great example of horizontal scroll page design.

Color Tube by Ivan Filipov Font Poster

Color Tube by Ivan Filipov

Playbox by Matt Lyon Font Poster

Playbox by Matt Lyon

Creative Market (Premium) Fonts

Olcino by Igor Petrovi Font Poster

Olcino by Igor Petrovic

Memphis by Anugraha Design Font Poster

Memphis by Anugraha Design

Bouquet by bloomxxvi Font Poster

Bouquet by bloomxxvi

Asset Manifests with Swig Templates

I’m still using the Swig templating engine for my Node/Express apps and recently decided to streamline my asset caching process. I wanted a simple way to insert hashed assets into my templates but everything that Google came up with seemed a little too complicated. So I wrote a quick custom Swig tag to read from an asset manifest (in my case public/assets.json generated by the Webpack Manifest Plugin):

let assets = require('../../public/assets.json');

module.exports = function (swig) {
  swig.setTag('asset', _parse, _compile, false, true);
};

let _parse = function (str, line, parser) {
  parser.on('*', function (token) {
    let match = token.match.match(/^["'](.*?)["']$/);
    let assetPath = match ? match[1] : null;

    if (assetPath) {
      let asset = assets[assetPath] || assetPath;
      this.out.push(asset);
    }
  });

  return true;
};

let _compile = function (compiler, args) {
  if (!args || !args[0]) {
    throw new Error('The asset tag expects a filename as a string');
  }

  let assetPath = args[0].startsWith('/') ? args[0] : '/' + args[0];
  return `_output +="${assetPath}";`;
};

(GitHub Gist)

I keep this file in an app/helpers directory and in app.js my views are set up with the lines:

require('./app/helpers/assets')(swig);
app.engine('html', swig.renderFile);
app.set('view engine', 'html');

After that stylesheets or JavaScript can be added to any template using the unhashed name like so:

<script src="{% asset 'main.js' %}"></script>
<link rel="stylesheet" href="{% asset 'main.css' %}" />
Slides Framework by Designmodo
Advertisement
Slides Framework by Designmodo
Advertisement

Haven’t done one of these in a while but I was recently looking up pirate fonts (for work) and came across Black Sam’s Gold by Redruth’s Basement Software.

It has a great backstory (based on a real pirate map from a real pirate shipwreck) and the set includes three distinct fonts. The dingbat map icons are my favorite and pictured above but an actual alphabet is also available.

Download at Font Space.

I don’t recommend a lot of cursive fonts (not sure why, I don’t have anything against them) but Konstytucja Polska cleaned by Tomasz Skowroński is pretty great.

Download at dafont.