Shop OBEX P1 Docs P2 Docs Learn Events
Easily add Custom Characters to ROM font displays — Parallax Forums

Easily add Custom Characters to ROM font displays

RaymanRayman Posts: 14,826
edited 2012-08-24 09:01 in Propeller 1
Just added a feature to RaysFontEditor so you can now easily create custom characters in Propeller ROM font format.
The new characters can be displayed with just a few lines of code.

Here's an example of the VGA_Demo modified to show 2 custom characters:

VGA_Demo_CustomFont - Archive [Date 2012.08.24 Time 11.38].zip

Here's the program to edit and export these characters to a .dat binary file:
RaysFontEditor_24Aug12.zip

The RaysFontEditor document with those two custom characters is included in the first zip file.

Comments

  • RaymanRayman Posts: 14,826
    edited 2012-08-24 09:01
    Here's a screenshot of a monitor running the above example and showing the 2 custom characters:
    Font_Display.JPG


    Here's a partial screen capture of RaysFontEditor editing the 2 custom 16x32 pixel characters:


    Font_editing.png


    Note: To add or subtract characters use the "Font Settings" menu to change the valid character range.
    To save as the .dat file, use the "Export Font" menu and then select the "Parallax Propeller ROM Font" from the Preset Types drop-list.
    640 x 480 - 105K
    340 x 302 - 23K
Sign In or Register to comment.