I sorta created a hacked process.
try this and see if it works. This is for windows...might work in linux i don't know.
1) Have Python 2.7.11 installed.
2) Have openssl installed from here
http://gnuwin32.sourceforge.net/packages/openssl.htm (I just used the first setup link. My Python script will call openssl command to decode and encode base64 the png files/data.
3) add the path to openssl to environment variables so that openssl can be called from anywhere, I added C:\Program Files (x86)\GnuWin32\bin to my environment PATH.
4) download this file and extract it to some folder the same as your free downloaded .phf file, it'll be named test.py
Attachment:
test.zip
5) in a command prompt, run
it 'll ask you to enter a name of a .phf file (enter the full filename)
then I'll give you 2 choices 1 or 2
enter 1
1 will extract all the .png file(s) from the .phf file and dump it to the same folder.
This process decodes from base64 to png files
6) now go check out the png files and overwrite them, edit them or whatever.
7) when you're done editing png files.
run python test.py again, enter the same .phf file name
and choose choice 2
This process will now encode the png files into base64 and put them along with .phf original information into a file with the same name as the original .phf file except with a ".new" appended to the end of file name...
you can then rename this file to .phf file your your choice .
Try it out and let me know if this hack works for you.
Thanks Tin.
I did it just as you described, but when installing the PHF file.
Photofont says that the PHF file is invalid.