LLH_Font.zip

new topic     » topic index » view thread      » older message » newer message

LLH_Font.zip

WARNING: File names aren't set in stone yet.  The
  library file names are subject to change.  This
  is a prototype but the 2 routines drawn out below
  should remain backwards compatible through out
  all upgrades.

include font.e

A Fully functional prototype of my font storage routines.
Currently stores and loads only 32x32 fonts.
Fonts passed to and returned from are have 1 and 0 data
only.  They are fall under the rule of
font = (rand(repeat(repeat(2, 32), 32) - 1)
32 width by 32 height and all values are either 1 or 0.

save_font("fonts.lhf", char#, font_to_save, style_info)
load_font("fonts.lhf", char#)

style_info is a sequence and is currently unused.
It is reserved for future features.
Please pass an empty sequence,({} or ""), to style_info.
That is what I will look for in future releases for
backwards compatibility.

    The file is available from the downloads area of my
website.

        Lucius L. Hilley III
          lhilley at cdc.net
+----------+--------------+--------------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  |
|  Horse   +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu