Code Monkey home page Code Monkey logo

esp8266-oled-ssd1306-font-creator's Introduction

esp8266-oled-ssd1306-font-creator

Font creator for the esp8266-oled-ssd1306 library. It's generate font.h file in Font V3 format used in this library.

Download

You can download pre-build console application from latest release page. For running this application you need JRE 1.8 (Sun JRE or OpenJDK) and newer. In fontcreator/bin directory are located bat/bash scripts to execute the app. For usages see bellow...

Install from latest sources

For installation you need to have installed at least Sun JDK 1.8 or OpenJDK 1.8.

  1. Download the source package from this page
  2. Unzip the archive.
  3. Run gradlew installDist in esp8266-oled-ssd1306-font-creator-master directory. It should prepare distribution zip and tar files in build/distributions directory and also unpack the distribution archive in build/install.
  4. Go to build/install/fontcreator/bin subdirectory. There are located bat/bash scripts to execute the app. For usages see bellow...

Usage

Font creator for the esp8266-oled-ssd1306 library
Created by Arcao (http://arcao.com), based on squix78 (http://blog.squix.ch) work.

Usage: fontcreator [options] [FONT]

Non-option arguments:
[FONT] -- system font name or path to font file to be processed

Option                   Description
------                   -----------
-b, --bold               use bold font variant
-c, --charset            font table index charset (default: iso-8859-1)
-h, --help               display this help and exit
-i, --italic             use italic font style
-o, --output [File]      write .h font table to file instead to StdOut
-s, --size <Integer>     font size
-y, --yoffset [Integer]  shifts characters upwards (pixels) (default: 0)

License

Copyright 2016 Martin "Arcao" Sloup

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

esp8266-oled-ssd1306-font-creator's People

Contributors

arcao 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

Watchers

 avatar  avatar  avatar

esp8266-oled-ssd1306-font-creator's Issues

Warnings on Arduino ide for ESP8266

I am getting these warnings with fonts created by this tool. It does compile and seems to work but these errors should not be there.

sketch/font.h:458:1: warning: narrowing conversion of '285' from 'int' to 'const uint8_t {aka const unsigned char}' inside { } [-Wnarrowing]
};

sketch/font.h:458:1: warning: large integer implicitly truncated to unsigned type [-Woverflow]
sketch/font.h:458:1: warning: narrowing conversion of '270' from 'int' to 'const uint8_t {aka const unsigned char}' inside { } [-Wnarrowing]
sketch/font.h:458:1: warning: large integer implicitly truncated to unsigned type [-Woverflow]

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.