|
Usage
Usage Page
Here are the procedures on how to write your own font. Yes, write the font, not create one. Basic procedures: open image->create grid->generate character index->save font->export .sfd. Screencast
The quality of the final TTF is kinda poor because the resolution of the original image is quite low. 1 square inch (~3cm) glyphs scanned in at 300dpi or 600dpi should yield better result. Sample pages of a book from an online library was used. The book can be found at http://nla.gov.au/nla.gen-vn1889757. The images were pre-processed manually with Gimp. StepsNote: The executable name is fontin.
Hint: For charset GB2312/GBK, a 96 cell glyph sheet make it easier to track code point. A 48 cell glyph sheet can be used for big calligraphy. Tip: Use a clip to stick the foreground and background papers together. Tips: Adjust the right and the bottom bands first such that they are at the middle of characters; then adjust the left and the top bands to make the margins symmetric. You can type in a single character or type in a hex code of the character e.g. 0xa1a1. More information about autotrace can be found at fontforge's autotrace page. P.S. You can hint an end cell by focus on the cell and click the "Toggle End" button. Any cells after this cell will be treated as garbage. Well, I am sorry that it takes your more than 20 steps to get to the profit part, but it is actually quite fast once you get to know the streamline. Image Pre-processingYou are suggested to pre-process the scanned images with mkbitmap before use the images in the font industry. mkbitmap is a utility of the potrace program. For example: convert image.png ppm:- |mkbitmap -n -s 3 -t 0.52 |convert pbm:- -type Palette -quality 0 blackwhite-image.png which converts an image by turn off the high pass filter(-n), then scale up by 3 (-s 3) and finally, convert to black & white bitmap using 52% of black as the middle point (-t 0.52). convert is a tool of ImageMagick. convert can be used to do much more work on image pre-processing. Since the high pass filter was turned off completely, we can achieve the same result using convert only: convert -resize 300% -threshold 52% -type Palette -quality 0 image.png blackwhite.png In a batch nut shell: #!/bin/sh
for i in "$@" ; do
outname="bw-${i}.png"
echo "Saving to ${outname}..."
convert "$i" ppm:- | mkbitmap -n -s 3 -t 0.52 | convert pbm:- -type Palette -quality 0 "${outname}"
#convert "$i" -resize 300% -threshold 52% -type Palette -quality 0 "${outname}"
doneEnjoy your own hand writing font and FLOOD the font market. Don't let me down. Charset TableWhen write your own font, you will need a grid sheet and a character set table of your character set.
|
Sign in to add a comment