connect-fonts-specialelite

Special Elite font pack for connect-fonts

connect-fonts-specialelite

A connect-fonts fontpack for the SpecialElite font.

  1. Include connect-fonts in a node module.
const font_middleware = require("connect-fonts");
  1. Include the font packs that you want to serve.
const specialelite = require("connect-fonts-specialelite");
  1. Add a middleware by calling the setup function.
    app.use(font_middleware.setup({
      fonts: [ specialelite ],
      allow_origin: "https://exampledomain.com"
    }));
  1. Add a link tag to include the font CSS.
    <link href="/en/specialelite/fonts.css" type="text/css" rel="stylesheet"/ >
  1. Set your CSS up to use the new font by using the "Special Elite" font-family.
   body {
     font-family: 'Special Elite', 'sans-serif', 'serif';
   }
  • Shane Tomlinson
  • shane@shanetomlinson.com
  • stomlinson@mozilla.com
  • set117@yahoo.com
  • https://shanetomlinson.com
  • http://github.com/stomlinson
  • http://github.com/shane-tomlinson
  • @shane_tomlinson

Original font set downloaded from fontsquirrel.com. Special Elite created by Astigmatic One Eye Typographic Institute

This software is licenced under version 2.0 of the MPL

https://www.mozilla.org/MPL/

Fonts are licensed under version 2.0 of the Apache License

http://www.apache.org/licenses/