My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
GenerateFontFile  
How to Generate libcapt Font file with captUtil
Updated Nov 5, 2010 by thejinc...@gmail.com

Default libcapt font file letters.cpf

You can find a small cpf file letters.cpf at "samples" fold.

How to Generate libcapt Font file with captUtil

captUtil is a GUI tool to generate libcapt font file(cpf), you can find it at "bin" fold after build whole solution at windows.

Step to generate font file

  1. run captUtil and click "generator" tab
  2. click "..." button to select a code file to define which characters to insert cpf file
    • this text file must be unicode-16bit format
    • you can find a sample code file with 25000 chinese character in common use at "sample" fold.
  3. click "Add" button to select a truetype font font and size
  4. click "Generate" button to generate and "Save" button to save cpf file.

Test font file

  1. run captUtil and click "Test" tab
  2. click "Load Font" to load cpf file
  3. then click random to display captcha image and four answer to select
  4. try it!
Powered by Google Project Hosting