I need a linux c++ program that takes an image as input and creates a font from that image.
## Deliverables
The program will be a 'main' program that calls a function on a static library you create.
input:
image (gif, jpeg, png, tiff) This will contain each each character that is to be displayed in the font.
font filename
font description
font owner
output:
the new font
Step 1:
break up the input image into multiple images. each character will always exist in the same location in the input image.
Step 2:
create bold version of the characters (can use imagemagik for this)
Step 3:
create underline version of the characters (can use imagemagik for this)
Step 4:
create bold underline version of the characters (can use imagemagik for this)
Step 5:
create the font that contains a normal, bold, underline and bold underline styles.
to do this you can use imagemagik on the input image.
eg: italics = skew the image contents
underline = draw lines on the image
bold = make the content thicker
If you know how to make this also work for different font sizes that would be great.
I need this to compile on linux so you need to write this using pure c++ code. NO C#.
Thank you.