FontGen
   Multilingual
   Grayscale
   Graphics support
   Rotation
   Cross Platform
   Compression
   Release notes
   Get it
  
Keil LCD extension
Display library
FAQ

 

FontGen accepts parameters in a mixture of 3 ways:

  1. User Interface: User can provide his preferences/wishes on the user interface of FontGen using combo/edit boxes and sliders.
  2. Ini File: FontGen reads the settings from the FontGen.ini file when it is launched. User can edit this file before executing FontGen. FontGen saves the last setting when it is closed to the FontGen.ini file. Fields of this ini file is self-explaning and corresponds to the user interface components of FontGen. User can also ask FontGen to use another inifile using the command line parameters. Defaults for the INI file parameters is given here.
  3. Command line parameters: FontGen has a seperate command line parameter for each user interface component of the FontGen's main window. User can set the font, check/uncheck the checkboxes before opening FontGen. Command line parameters also allows you to make FontGen read an ini file with the settings. You can also ask FontGen to use a different file for he list of the characters to use. It is also possible to ask FontGen to execute automatically and close. The list of the parameters is given here.

FontGen handles the user's preferences in the following order:

  1. First load the default ini file (FontGen.ini) and default chars file (FontGen.ini). For any missing field in the ini file, the defaults are used. The hard-coded defaults are given below.
  2. Process the command line parameter in the given order.
  3. If user asks to read an ini file with a command line parameter, FontGen reads the given ini file. Only the given fields are used in the INI file. FontGen does not reset the missing fields in the new ini file, to the hardcoded defaults

Here are some example executions:

    Consider the following are set in the default INI file:
      [Font]
      Name=Lucida Console
      Size=12 
      Bold=0 
      Italic=0 
      Underline=0 
      StrikeOut=0
    To create a font for Lucida Console with 16 size:
      FontGen -s 16 -a f -o "c:\project" 
    After this execution, the size field in the default INI file is updated to 16. So after it, to create a font definition for courier/16:
      FontGen -f Courier 
    Consider the following are set in the default INI file:
      [Font] 
      Name=Lucida Console 
      Size=20 
      Bold=0 
      Italic=0 
      Underline=0 
      StrikeOut=0 
    Consider the following are set in the test.ini file:
      [Font] 
      Size=12 
      Italic=0 
      Underline=0 
      StrikeOut=0 
    To create a font for Lucida/12/bold:
      FontGen -a f -n .\test.ini -B or FontGen -B -a f -n .\test.ini 
Copyright 2006-2007 - dreamsware - info@dreamsware.info