Git Product home page Git Product logo

monobitmapfontcreator's Introduction

monoBitmapFontCreator

Simple ASCII (printable characters only) monospace bitmap/raster font web tool compatible with fbg library

Online version

Features

  • web fonts from Google Fonts & Adobe Edge Web Fonts via Web Font Loader library
  • support style / weight / variant and some glyph modifiers such as glyph scale
  • ASCII font rendering preview (same algorithm as the fbg library)
  • downloadable ASCII bitmap font (PNG)
  • extensible; this tool is so simple that you can customize each glyph the way you want to and apply any sort of processing you want using the HTML5 Canvas API

This tool does not support user-font out of the box but use the Web Font Loader library so any custom fonts can be used as input by including it in the CSS through font-face property and modifying the way Web Font Loader load the font by using the custom property (see library documentation).

You can also get rid of the font loader code part and call the render function with your font name if you use a custom font through CSS.

Rendering

This tool produce fixed width / height ASCII monospace bitmap font and does not produce a map file, each printable characters of the ASCII set should be linearly mapped in the rendering code.

monobitmapfontcreator's People

Contributors

grz0zrg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

monobitmapfontcreator's Issues

feature request: extend for 256 characters

To show the CPU temperature I needed the degree symbol. It can be achieved by changing to lines of code:
pi@raspberrypi:~/Source_code/monoBitmapFontCreator-master_orig $ diff fwb.js ~/Source_code/monoBitmapFontCreator-master/fwb.js
57c57
< var chars_count = 94;

var chars_count = 256;

59c59
< var first_char_code = 33;

var first_char_code = 0;

I may be also appropriate to to provide 2 user interface boxes (with backward compatible default values) to generate smaller bitmapfont files for small system with less memory.

Kind regards,
Peter

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.