Go Down

Topic: Excel fonts editor-converter for Adafruit, UTFT, Squix, ILI9341_t3, OLED_I2C (Read 2775 times) previous topic - next topic

DenSyo

binFontsTool 0.2.6 - MS Excel based Arduino multi-libraries fonts editor and converter.
Reading fonts from C files. Saving fonts to C files with the ability to add font to an existing file, or replace an existing font in file. Possibility of creating binary versions of fonts for some libraries. Support Adobe BDF format. Set of editing and encoding tools.

supports Arduino libraries:
UTFT classic
UTFT Glyph0
Adafruit classic
Adafruit GFX
Squix V2
Squix V3
ILI9341_t3 V1
OLED_I2C

Convert any font type to BDF file you can using program FontForge:
http://fontforge.github.io/faq.html#outline-bitmap

To use fonts with regional encoding, it is necessary to use the function of converting the two-byte encoding of UTF-8 to the native one-byte one. An example for the Russian language, the function of translating the symbols UTF-8 to ANSI WIN-1251
http://arduino.ru/forum/programmirovanie/rusifikatsiya-biblioteki-adafruit-gfx-i-vyvod-russkikh-bukv-na-displei-v-kodi

Squix library support with participation Louis Roll
See online fonts editor:
https://rawgit.com/lorol/esp8266-oled-ssd1306/master/resources/glyphEditor.html



Notice: long open large files. If you only need to open the file and save it in another format without editing, you can turn off the coloring in the settings to speed up the reading.

DenSyo

New version 0.2a

- Added support for Adafruit GFX fonts.
- All operations are performed through dialog windows.
- Width of the edited font is increased to 32 bytes.

DenSyo

New version 0.2.1

- added function to change the encoding. Requires a character mapping table
- move characters to left and right added
- bug fixes

DenSyo

New version 0.2.2

- Changing encoding by values from the BDF files (column 354)
- Improved Encoding change function


15.05.2017 update 0.2.3

- Fixed error saving Adafruit GFX fonts

06.11.2017 update 0.2.4

- Improved performance

DenSyo

Often ask how to create a large font. A large font can not be placed in one array, so divide it into several.



In the program FontForge I created a BDF version of the font with the size of 240 pixels from the font Young At Heart (the total size of the characters will be much smaller). Uploaded the BDF font to the editor from 48 to 57 characters (only digits). Then made removal of unnecessary rows from the top and bottom (delete rows). Made the figure 4 thinner using the cut-paste. Set the font width to 100 and aligned the characters horizontally - first made move char to right for all characters, then manually move digit 1 and 4. Example in a file YoungAtHeart100x180nums.zip


DenSyo

New version 0.2.5

- Added support for Adafruit classic fonts. Any font size other than 5x7 is supported, if you want to expand the standard functionality of the library.
- Added support for Squix V2 and V3 fonts.
- Added formats for binary versions of fonts.
- Added a table of symbol names for comments.
- UTFT glyph0 save bug fixed

DenSyo

New version 0.2.6

Big changes. Greatly accelerated reading of files, it became much more comfortable to work. Improved parsing C, added quotes processing. Implemented adding a font to an existing file with the replacement of the existing font. When adding a font to an existing file with the fonts of another library or any other code, be careful of the directives that are added with the font. Added color modes, second block for regional symbols, zoom view mode. Zoom modes you can create any yourself, see the description R1C52 on sheet Manual.
The negative offset value along the Y axis now means the number of rows from the bottom to the first. The sign of the value of the offset along the X axis does not currently matter, only the value modulo.
- Added support for ILI9341_t3 library. While without unicode table.
- Added support for OLED_I2C library. Don't sure about fonts whose height is not multiple of 8, check please who use this library.

Go Up