
Windows Font to Jiri Babor's DOS font format Converter
------------------------------------------------------
               (In other words (WinFnt2f))
                     By Juan Reina


Jiri Babor's font.e is a very good font system for Euphoria's DOS
programs.  I personaly like very much his Widgets too.  
But in order to use it I needed more fonts and I couldn't get the
ones I wanted anywhere, that's why I wrote this program.  You can 
convert Windows fonts (occidental alphabet only -so far) to Jiri's
format.

I have included another small program: charset.ex to help you test
your conversion.

Because I am not a very experienced programmer this program gave me
some headaches, but it seems to be working right and pretty fast too!
And it is my first contribution to the Euphoria Web page.

I hope this is useful to you,

JUAN REINA
juanreina@hotmail.com


Note:  You gotta have David Cuny's Win32lib to run WinFnt2F.
I wrote it using the IDE 0.10.2 and Win32lib (0.55) but it might
work on some other versions.  You can download the excellent Win32lib
in the Official Euphoria Web Page.


TO DO
------
- OEM to Ansi and viceversa.
- More alphabets
 

How Does it Work?
--------------------
The idea is pretty simple and it's not really new.
You display a character on the screen and then copy its bits
to the new font file.

Actually I had seen programs use a similir approach. Some read
a bitmap and from it they make the font.  I started that way
but soon realized that it was better to write the bitmap also, and in 
that way have a better control of the process, and make it automatic
too.


Another note
--------------
if you're puzzled about the Mirror option do the following:
- Convert a font with the mirror option on.
- Write a program that uses font.e (or use charset.ex) 
  and display this font on the screen.  When you write some text
  on the screen use something like this: write(reverse("This is text"))
  and check out the results.
- If you still don't know wbat I mean I recommend you to place a mirror
  in front of the screen and look at it.  Now you can read what's on the
  screen by looking at the mirror. What do you know? ah?
- Actually Leonardo Da Vinci wrote everything in his notebook using this
  "mirror" handwriting.  And most people can only read it using a mirror.

