Giter Site home page Giter Site logo

s-a / digital-numbers-font Goto Github PK

View Code? Open in Web Editor NEW
100.0 100.0 12.0 2.15 MB

A fixed width (web)font in a cool liquid-crystal display (LCD) style.

Home Page: https://s-a.github.io/digital-numbers-font/

License: SIL Open Font License 1.1

CSS 24.52% JavaScript 12.25% HTML 56.52% Shell 4.20% Python 2.51%

digital-numbers-font's People

Contributors

davelab6 avatar s-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digital-numbers-font's Issues

Tiny things

  • the final binary has an FFTM table, which can be removed with fontTools but sadly it seems FontForge doesn't have an option to prevent it being included (fontforge/fontforge#2389)
  • the name table includes items with PlatformID="1" but these can be removed with fontTools
  • the name table version string (item 5) had a trailing space
  • the canonical filename of the font should be DigitalNumbers-Regular.ttf

I fixed these things in the version I committed to google/fonts@e860dd8 - please use this in the dist/ directory, and cut a release on https://github.com/s-a/digital-numbers-font/releases :)

Correct Directions; Remove Overlaps

In https://github.com/s-a/digital-numbers-font/blob/gh-pages/build/script.pe you need to correct directions and remove overlaps, or this happens:

screen shot 2015-06-05 at 5 34 42 pm
screen shot 2015-06-05 at 5 34 36 pm

screen shot 2015-06-05 at 5 34 27 pm
screen shot 2015-06-05 at 5 34 29 pm

I suggest using python to make a build.py like this (written into the issue without testing :)

import fontforge
font = fontforge.open("../src/digital-numbers.sfd")
for glyph in font.glyphs():
    glyph.round()
    glyph.correctDirection()
    glyph.removeOverlap()
    glyph.addExtrema()
    glyph.simplify()
formats = ['sa-digital-number.ttf', 'sa-digital-number.svg', 'sa-digital-number.woff', 'sa-digital-number.eot']
for file in formats:
    font.generate(file, flags=("round", "dummy-dsig"))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.