Saturday, May 7, 2016

As an alternative to PhotoFont

How this idea came about.

I first thought since PhotoFont .phf files are xml files and define characters based on images what if i could extract .png data, edit the .pngs and then encode the edited .pngs back into the .phf files.

Extracting .png data from .phf files was successful.
However, after editing the .pngs, and try encoding .pngs back in the .phf, i kept getting Invalid and can not be installed when i used the GIMP's Photoshop plugin for PhotoFont.

 So then I thought if i can't get that to work, why not create my own images that define each character of the alphabet and all the special symbols as layers and have a script to accept a text string as input and loop through each characters/letter/symbol of the string and compose the graphics in a new image using the defined layers.

 The idea is simple, but it creates a platform for font designers to design new creative custom photographic fonts that are reusable by saving them as .xcf files (GIMP's file format). Then anytime you want to create a text string in whatever font just open up that .xcf and run the script and compose the text string using the .xcf as a font definition.

This idea and the script is located on GimpChat.com forum here -> Custom Font script (spawned from Wallace's PhotoFont topic).

Samples of what you could create with the mentioned script..
THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG
THE CUSTOM SCRIPT IN GIMP FOR GIMP CHAT IS AWESOME
the above images are created by cropping images found here and then running the script to generate these phrase or sentences.