http://laserboy.org/code/LaserBoy_2013_02_28.zipThis version has much better font rendering!
LaserBoy was designed to use an ILDA file of 94 frames. Each frame contains a glyph in the order shown below:
//--------------------------------------
! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9
: ; < = > ? @
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
[ \ ] ^ _ `
a b c d e f g h i j k l m n o p q r s t u v w x y z
{ | } ~
//--------------------------------------
All of these frame sets are named with a prefix of 'font_' so they can easily be sorted out of the rest of the ild files with LaserBoy's file name completion functionality.
The new version of LaserBoy comes with:
font_arial.ild
font_comic_sans.ild
font_courier_new.ild
font_impact.ild
font_lucida.ild
font_times_new_roman.ild
Previous versions of LaserBoy were able to render mono spaced fonts based on a constant width of filed for each glyph.
A new feature in LaserBoy is the ability to render fonts with a variable glyph spacing, based on the actual width of each glyph.
New parameters were added to the [Tab] value settings menu for controlling the width of each mono spaced glyph field as a percentage of a square area larger than any glyph, and to control the width of the gaps between variable spaced glyphs as a percentage of the width of the letter 'W' of the font being rendered.
Also, most of the rendered segment input interfaces, found in menu 'm render segments by coordinates', now have default values making them faster to get through and easier to understand.
To render text into a frame:
From the main menu, go into menu 'm'.
Use the 'p' key to select a color.
Use either the 'o' or the 'q' key to render a mono or a variable spaced font.
Notice the default value of the baseline start X of -30000.
Accept this value by hitting [Enter].
Notice the default value of the baseline start Y of 0.
Accept this value by hitting [Enter].
Notice the default value of the baseline end X of 30000.
Accept this value by hitting [Enter].
Notice the default value of the baseline end Y of 0.
Accept this value by hitting [Enter].
Notice the default value of font name.
Accept this value by hitting [Enter].
At the prompt 'text to render' type the desired string of text to render from the ASCII glyph set shown above.
Submit the string by hitting [Enter].
A string of text will be rendered on the baseline defined between the coordinates of (-30000, 0) to (30000, 0) in short integer coordinate space (-32767 to +32767).
Note: Each individual glyph might be made of two or more separated segments, but they are all (individually) bonded together with 'lit black'. So each glyph is considered one whole lit segment and moving, scaling and rotating will effect the entire glyph.
If you find the new font rendering improvements interesting, you might also like to read this:
http://laserboy.org/forum/index.php?topic=557.msg6399#msg6399James.