Prev |  | Next

# The BitmapFontGenerator (GUI) Documentation

Say you converted a Dictd dictionary file into a CSV file for DictionaryGeneration, you then generated the dictionary files with DictionaryGeneration (of course). The next step is to pack the generated files in some empty DictionaryForMIDs.jar/jad files to be able to use it on some mobile phone or PDA. Say the dictionary you would like to install is some Chinese-English dictionary. Say your mobile device does not support the Chinese language (does not know how to display the Chinese characters). What you need is to create bitmap fonts that will be displayed like pictures of the Chinese characters on your mobile device. Fortunately the DictionaryForMIDs project has the BitmapFontGenerator.

The BitmapFontGenerator tab comes just after the DictionaryGeneration tab and before the JarCreator's. Let us have an idea of what we need to do to get it generate bitmap fonts for us.

## Filling the fields in

- Provide a path to a valid Truetype font. This font file will be used to generate the bitmap
  fonts for your mobile device. I like the Ubuntu-Font-Family included in Ubuntu from 11.04 on.
  they are located in /usr/share/fonts/truetype/ubuntu-font-family. I think they look beautiful :-).
- Provide the path to the folder named dictionary where your dictionary files are located in.
- Choose a font size from the list. You can choose between 8 to 36
- Choose a value in the list provided, between 0 and 4 for the option Clip Top.
- Choose a value in the list provided, between 0 and 4 for the option Clip Bottom.
- Hit Enqueue/Generate Fonts to go to the summary window and enqueue another dictionary along with its settings, or generate bitmap font files for the dictionary just enqueued.

Screenshot of the BitmapFontGenerator.

## Launching the bitmap font generation preferences summary window

The preferences summary window lets you preview the options you selected before actually going to the font generation process. You can cancel the font generation by closing the window before launching the process.
You can also

## Generating the bitmap fonts

Hitting the Generate Bitmap Fonts button launches the process.

You can also do the following here:

- Add the Next Font Size: meaning, add another font size so as to have FontGenerator generate font files for all the sizes in the queue, at the same time, for the same dictionary. But this does not prevent you from enqueing other ditionaries and add other sizes for them. They will all be generated at the same time!
- Enque Another Dict: that is to say, add another dictionary in order to generate fonts for it
- Clear Queue Contents: clear everything in the queue.
- Cancel: cancel the font generation process (after it has been launched).

Prev | DfM-Creator Home | Next
DictionaryGeneration |  | JarCreator