1. Big Font Bolt-in Time
Mostly for Lucius,
I have finished up the Chinese Character debugging yesterday, and
immediately started studying over the ll.h.zip contents. I ran the program
up to 45 grand and then backed it out. Everything worked just fine. The
totals were 5.8 megs for the Compact.f and 46.6 megs for the Expanded.f,
and there is no problem with that. I run 128 megs of ram now, as of
yesterday.
Questions:
1. How close to either Jiri's unexpanded .f structure is the data
structure? I have taken one of the actual Chinese fonts and used a Hex-
Editor to print out the first forty lines or so. I printed out your
Compact.f, Expanded.f, AB.f (chinese font in Jiri's), AB.sf (same Chinese
font in Colin's) for comparison.
2. I am wanting to use this asap. I can severely hack the present code so
that I just need to import (i.e., more like shovel!) in the fonts as sit
now in byte format, or I can more safely cobble in the expanded binary
fonts.
I need some direction on this. This is the largest font file ever built
anywhere, and it is starting today. What is your advice?
Regards,
Norm
2. Re: Big Font Bolt-in Time
NORM:
At http://www.wotsit.org
There is a description of a file format called HZ which might be of
interest to you.
Its a Data Format for exchanging files of arbitrarily mixed chinese and
ascii.
Bernie
3. Re: Big Font Bolt-in Time
Fully functional prototype of my font storage routines.
Currently stores and loads only 32x32 fonts.
Fonts passed to and returned from the routines are to have
1 and 0 data only.
They all fall under the rule of
font = (rand(repeat(repeat(2, 32), 32) - 1)
or
NOTE: values are to be either (1 or 0) only.
font = {
{ 1, 2, 3, 4..., 31, 32}, --1
{ 2, 2, 3, 4..., 31, 32}, --2
{ 3, 2, 3, 4..., 31, 32}, --3
{ 1, 2, 3, 4..., 31, 32}, --4
....
{31, 2, 3, 4..., 31, 32}, --31
{32, 2, 3, 4..., 31, 32} --32
}
32 width by 32 height and all values are either 1 or 0.
USAGE:
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.
>---------------------- Information from the mail
header -----------------------
>Sender: Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
>Poster: Norm Goundry <bonk1000 at HOTMAIL.COM>
>Subject: Big Font Bolt-in Time
>---------------------------------------------------------------------------
----
>
>Mostly for Lucius,
>
>
>Questions:
>
>1. How close to either Jiri's unexpanded .f structure is the data
>structure? I have taken one of the actual Chinese fonts and used a Hex-
>Editor to print out the first forty lines or so. I printed out your
>Compact.f, Expanded.f, AB.f (chinese font in Jiri's), AB.sf (same Chinese
>font in Colin's) for comparison.
I haven't looked over Jiri's .f structure.
Above is a reasonable description of the routines and how to make
use of them. Fonts are 32x32 2D sequences with only 1 & 0 values.
The only routines used are save_font() and load_font().
>
>2. I am wanting to use this asap. I can severely hack the present code so
>that I just need to import (i.e., more like shovel!) in the fonts as sit
>now in byte format, or I can more safely cobble in the expanded binary
>fonts.
>
>I need some direction on this. This is the largest font file ever built
>anywhere, and it is starting today. What is your advice?
>
>Regards,
>Norm
>
Lucius L. Hilley III
lhilley at cdc.net
+----------+--------------+--------------+
| Hollow | ICQ: 9638898 | AIM: LLHIII |
| Horse +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+