For any sort of documentation on this simple little thing press
F1 in the program.

Additional comments:

The Actual bytes/char and Logical bytes/char entries for loading
a font give you flexibility in how the font is sized. Let's say
you have a 8x16 font that really only is 8x14. The actual bytes
per character is 16 and the logical bytes per character is 14.
Now, when you save the font, instead of the font being 16x256=4096(+256)
it's 14x256=3584(+256). The +256 is for the width table added to all
fonts saved with FONTED.

FONTED fonts will always be 256 bytes larger than 256*points
due to the width table. Factor this in when determining bytes/char.

As a guide in taking a font from raw data to QBEVGFX follow this:

 1. Run FONTED. Press F1 to get a glimpse of what does what.
 2. With the EDit box hilited press L to bring up the load window.
 3. Enter the pathname to the font. Let's use LCD.F14
 4. This file is 3840 bytes. Since it's a FONTED data file first
    subtract 256 for the width table, 3584 bytes. Divide by 256
    characters per font: 3584/256=14. The font has 14 'actual' bytes
    per character. Of course, that's what the F14 is for...
 5. Enter 14 for both the Actual and Logical bytes/char. You could
    change the logical bytes/char for different character heights
    but the actual bytes/char is 14, period.
 6. Make any changes to the font, or leave as is.
 7. Press S to bring up the save window.
 8. Enter the pathname of the data file to save. Since we didn't change
    anything just enter NUL. No raw data file will be written.
 9. For Masm file enter LCD14.ASM. For call name enter LCD14.
10. Run LCD14.ASM through a MASM-compatible assembler. The .OBJ file
    can then be added into the QBEVGFX.LIB library and a new QLB made:

                C>LIB QBEVGFX3 +LCD14;
                C>LINK /QU QBEVGFX3.LIB,QBEVGFX.QLB,nul,BQLB45

    Check the QB manual for more details.
11. To use this new font in a program just:

                REM change to LCD font
                LCD14
                nx=DRAWSTR(mode,strg$,x0,y0,fg,bg,gap)
                'the strg$ will be displayed using the LCD14 font

12. If you don't have an assembler (why not?) then you must use USERFONT:

                DIM Buffer(0 TO MaxFontSize) AS STRING * 1
                vseg = VARSEG(Buffer(0))
                voff = VARPTR(Buffer(0))
                REM load LCD font into a buffer (you code it)
                LoadUserFont "LCD.F14",vseg,voff
                USERFONT vseg,voff,14
                nx=DRAWSTR(mode,strg$,x0,y0,fg,bg,gap)
                'the strg$ will be displayed using the LCD14 font

13. There you go.



