[retrun to homepage]

Using the Cyberbit Unicode TTF font with Omega

  1. You need the Bitstream Cyberbit Unicode font. You can't get it from Bitstreamanymore, but you can get it from Netscape at:

  2. ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/
     
  3. You need to install Omega-J first - see the link to it. If you only wantto use UTF, you don't need to install the Omega-J OCPs, but it doesn'tdo any harm.

  4. Then follow the instructions to prepare the TFM files from the Cyberbit.TTFfile:

  5. ttf2tfm cyberbit.ttf omcyberb@Unicode@ >omcyberb.log

    This generates 256 TFM files - omcyberb00.tfm to omcyberff.tfm (it maystart at '01' not '00' - I forget)

  6. Then prepare the PL files from the TFM's:

  7.  

     

    $ for tf in *.tfm; do
    > tftopl $tf ${tf%tfm}pl
    > done

    This generates an equivalent number of PL files to the TFM files withthe same names.

  8. Then run MKOVPD:

  9.  

     
     
     

    mkovpd omcyberb

    This generates the equivalent GIL files and a one 'omcyberb.ovp-data'file that contains the data part of an OVP file for the cyberbit unicodefont. You should edit that together with the 'cyberb.ovp-head' file tomake 'omcyberb.ovp'.
     

  10. Then compile the OVP into an OVF file:

  11.  

     
     
     

    ovp2ovf omcyberb

    and move the OVF file to the directory where you keep your active OVFfiles. Also move the TFM files to the directory where you keep those.
     

  12. Follow the Omega-J instructions about editting ttfonts.map and psfonts.map.

  13.  

     
     
     

    Now Omega is ready to work with the new font. I've provided a sampleto try. However, you still haven't got the font ready for oxdvi to display!You need to use the TTF2PK program - from the same place as the TTF2TFMprogram. This will generate 256 'pk' fonts corresponding to the ones definedin the OVP file. TTF2PK allows you to pre-build the fonts or to build themon demand by patching OXDVI. I have OXDVI generate them as required.

    All this allows you to use the characters in the Cyberbit Unicode font.It doesn't provide OCPs for all the charactersets. I wanted to 'do' Chinese,so that doesn't matter, but if you want to do Arabic or Sanskrit and havethe automatic character combinations/modifications working. More OCPs willbe needed.