[ Bumpy Font Applet v1.0]
-
[ Readme]
The Bumpy Font Applet is copyright © HeHo, All Rights Reserved.
The Bumpy Font Applet is released with NO WARRANTY and freely usable/distributable.
Feel free to use this applet for your non-commercial projects.
If you want to use it for commercial purpose, please contact me with e-mail.
-
[ Screenshot
]
- [ Samples
]
Sample 1 |
- use bump map
|
Sample 2 |
- standard sample |
Sample 3 |
- use bump map
- use bump anim
|
Sample 4 |
- use background image
without bump map |
Sample 5 |
- use background image
with a bump map |
Sample 6 |
- use background image
without bump map |
Sample 7 |
- use only background image without font or bump map . |
-
[ Parameters
]
You can change parameters in HTML file, take a look at this sample :
<applet archive="bumpy.jar" code="bumpy.class" width="350" height="25">
<param name="font" value="mpocketf.aft">
<param name="text" value="txt.txt">
<param name="texthspace" value="-3">
<param name="bgcolor" value="000055">
<param name="background" value="">
<param name="bumpmap" value="map1.jpg">
<param name="bumpheight" value="192">
<param name="lightpower" value="48">
<param name="lightradius" value="256">
<param name="lightspeed" value="6">
<param name="bumpblur" value="yes">
<param name="delay1" value="256">
<param name="bumpanim" value="no">
<param name="delay2" value="">
</applet>
|
|
Description |
|
min |
max |
width |
Applet width. |
pixel |
|
|
height |
Applet height. |
pixel |
|
|
font |
Anfyfont filename.
You can find Anfyfont
here.
|
|
|
|
text |
text filename |
|
|
|
texthspace |
horizontal space between letters |
|
|
|
bgcolor |
Background color in RGB hex value, like html
format, but without the prefix "#".
This parameter will have effect only if you don't use background image. |
RGB |
000000 |
FFFFFF |
background |
Background image filename.
You can use gif, jpg, bmp ... |
|
|
|
bumpmap |
Bump map image filename. |
|
|
|
bumpheight |
Bump height |
|
-255 |
255 |
lightpower |
Light power |
|
0 |
255 |
lightradius |
Light radius |
|
0 |
255 |
lightspeed |
Light speed |
|
|
|
bumpblur |
Bump blur |
yes/no |
|
|
delay1 |
delay between each line of the text |
|
|
|
bumpanim |
anim bump |
yes/no |
|
|
delay2 |
delay for the bump animation |
|
|
|
THE AFT FORMAT SPECIFICATIONS |
You can find Anfyfont
samples here.
If you are interested in creating new fonts for your personal use, or
to add those to the freely usable AFT fonts collection, you should
know how the AFT format works.
An AFT font comprises 2 files, with a single prefix + different suffixes,
for example:
myfont.aft
myfont.gif
The .aft file is an ascii text file, editable by hand, and the gif file
is an image file editable with any paint program.
Both files must have the same prefix, and the suffixes should be in
lowercase.
Here an example of .aft:
myfont
32
23
0
!#%%%%'()%%,-./0123456789:;%=%?@ABCDEFGHIJKLMNOPQRSTUVWXYZ%
This is a comment... hello...
The 1st line contains the name of the gif file, without .gif suffix.
The 2nd line contains the font width.
The 3rd line contains the font height.
The 4th line contains the Y spacing between characters.
The 5th line contains the characters index (its order in GIF image)
For example, if a font is painted as:
ABCDE
FGHIJ
KLMNO
The fontindex will be: ABCDEFGHIJKLMNO
But, if a font is painted as:
AEIMQUY
BFJNRVZ
CGKOSW!
DHLPTX#
The fontindex will be: AEIMQUYBFJNRVZCGKOSW!DHLPTX#
|
|