Tag Archives: Create a font

Bitmap2LCD Stretching the Chars of a Font

Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems and a programmable graphic and text processing tool.

Stretching A Font

Update V3.7c

In the Font Panel there is a small Panel for stretching a GLCD Font (blue Arrow) , in width or/and in Height with the possibility to shift the stretched chars along the Y axis.

The “Stretch” checkbox enables or disables the stretching.

This features works when generating a Font, in the font script special mode and when exporting a system font to an editable Font.

bitmap2lcd-stretch-font

 

 

Description of the GLCD Font Editor in Bitmap2LCD

Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems.

Description of the GLCD font editor in Bitmap2LCD (since V2.2)

Standard Edition

The example below shows the begin of the creating of an Editable font from scratch

On the font panel window at the left :

  • There is one single new Char is in the font grid (red arrow), all pixels are white
  • The font editor toolbar (brown arrow) Buttons: insert new char or paste a char, delete a char, copy a char,export to work canvas,import from work canvas, save font…
  • Above the Font Editor toolbar, the segmented font viewer buttons to hide/show the different Char segments (up to 12 segments)
  • The character displayer and pixels editor. (green arrow) For complicated Char edits, the Char can be exported into the work canvas, and re-imported after modification.

On the Outputs panel window at the right :

  • The Editable Font Script in the editor (blue arrow) , in the GLCD Font Editor mode, the editor gutter becomes yellow.
  • The Editable Font Script editor toolbar  (orange arrow), the values in the Font Script can only be modified in the edits there. It depends where the cursor is located in the script. The Normal Font / Segment Font switch is located on this toolbar too.

The GLCD Font Editor in Bitmap2LCD

Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems.

The GLCD Font Editor in Bitmap2LCD

Standard Edition

Since Standard Edition V2.2 and upwards, Bitmap2LCD features a GLCD font editor

The already before existing font script component, is only based on imports of characters out of  the installed Windows system fonts, with no possibility to edit the pixels.

The new GLCD font editor feature gives this capacity of editing the fonts and/or to create new characters and icons.

The GLCD font editor component is called “Editable Font ” and the associated functions can be found in the main menu, see below.

  • Open an existing Editable Font File (*.EFF)
  • Create an Editable font from  scratch
  • Quit the Editable Font Edition Mode

The GLCD font editor possibilities are shown below

[ Editable Fonts : up to 256 colors ]

An Editable Font file created with Bitmap2LCD, is saved in a *.EFF file with his associated GIF file, all single characters bitmaps being saved in the frames of a GIF animation. The GIF becomes a sort of catalogue of images.

The Editable font GIF file can also be displayed in the GIF file reader , like a normal animation. The *.EFF file (Editable Font File) is just a script witch contains additional informations.

When opening an editable Font (*.EFF) , by clicking on it in the file explorer, the associated GIF companion file is opened automatically.