It is currently Sun May 05, 2024 7:53 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 61 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Photofont Start/PHF Photofont installer 2.0 (PSPPI-2.0)
PostPosted: Wed Mar 07, 2012 12:06 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Here it is folks. :) - no need to buy any expensive software this is FREE!
Be sure to read the README and the CCL_README included.
One is the creative commons and the other is instructions on how to use everything and install it.I also include some helpful tips on not having to edit the glyph blocks in the PHF file.There are some looks into the code itself also, and what each block contains. I suggest you look into that if you want to play with the code.

SYSTEM REQUIREMENTS
As far as i know this plugin only works for Windows and MAC.I include links in the README to download the plugin for using the phf fonts you create. - http://www.fontlab.com/photofont/photofont-start/

Whats in the file
1) the readmes - instructions and important information on Creative Commons license
2) the xcf template - all letters (CAPS only) - numbers 0 - 9 and a few common symbols like exclamation point, question mark, period, comma. You can add to this yourself.
I included almost all unicodes in the PHF code so for dollar just create a new layer with the text tool to make a dollar sign and create a path for it. Then name that layer dollar.png.Then place that dollar.png file in the
C:\Documents and Settings\YourUserNameFolder\My Documents\Photofonts\images folder.
3) the complete phf file - with all map id unicodes. If you decide to add unicodes remember to place them in correct order in the glyph blocks.For instance if you place a new unicode for a symbol after a in the map id, make sure its placed after the a in the glyph blocks. :)
4) Broken Blue Bevel glyphs. Created by me so use them however you wish.

TO INSTALL-Gimp (if not for Gimp there is no need to install PSPI)
1) Download - PSPI (photoshop plugin for Gimp) - http://tml.pp.fi/gimp/pspi.html
http://www.instructables.com/id/Photosh ... g-In-PSPI/
2) Download the Photofont Start plugin - install it where you install your Photo Shop plugins.
http://www.fontlab.com/photofont/photofont-start/ - open Gimp and create the PSPI path.Close Gimp.
3) Now go to C:\Documents and Settings\YourUserNameFolder\My Documents\Photofonts folder and place the PHF file in there.
4) Create another folder in the Photofonts folder. Name it - images
Create another folder inside images name it - nonCaps.
5) Download the export layers as png script here - http://registry.gimp.org/node/18440 (python is needed for this script) - http://registry.gimp.org/node/25394 for SCM - Install the Python file in your plugins folder.Install the SCM in your scripts folder.
6) Open the xcf file in Gimp and create your font/glyphs - its important that you name them correctly so name them A, B, C, - name the number layers zero, one, two and so on.I included a id map in the README so check that out for correct image naming.

Once you save those images in the Photofonts/images folder they are auto installed, and there is no need to restart Gimp. :) - so now just go to Filters>Fontlab>Photofont Start and look for the installed font in the drop down list.
The name is Non_Embedded_PHF.
Type your text and there you go. :)


I found this website image today - very cool! :)
Image
Website and story of image can be found here.Just an example of what you can create with phf.
http://www.slanted.de/node/1361

Any problems holler at me. If anything in the zip is missing holler at me. :)

Thanks for all your support and help folks.This wouldn't have been possible without you.
The stuff -
Updated to 1.5 March 9th - added 3 new unicodes - updated the code - added Broken Blue Bevel font glyphs!
Updated to 2.0 March 9th - fixed kerning and baseline alignment.
Attachment:
File comment: Kerning and baseline alignment update
Non_Embedded_PHF-v2.0.zip [2.38 MiB]
Downloaded 443 times

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 12:19 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Thanks Rod. Haven't installed the python image exporter yet, but I thought GIMP had this feature built in for some reason; I know you can take a lot of images and import them as a layered file. Anyway, again, appreciate your effort. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 12:29 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Don't see naming convention in your readme for all the glyphs Rod. I do see map ids in the PHP file you including. Can the glyphs be png or jpg or either?

edit:

ahh; pngs. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 1:07 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Looks like you are missing unicode 64 (at symbol) in your PHP file too. Had to do some digging to find a unicode table. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 1:10 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Yes the @ file is in the XCF but i didnt know the unicode.
This should be in the readme file - bottom

IMAGE NAME GUIDE - MAP ID IS ALSO IMAGE NAME - just add the png extension.
For instance
map id="A" means this images name is A.png (it IS case sensitive!)
map id="bracketright" means this images name is bracketright.png

<map id="A" unc="65" />
<map id="B" unc="66" />
<map id="C" unc="67" />
<map id="D" unc="68" />
<map id="E" unc="69" />
<map id="F" unc="70" />
<map id="G" unc="71" />
<map id="H" unc="72" />
<map id="I" unc="73" />
<map id="J" unc="74" />
<map id="K" unc="75" />
<map id="L" unc="76" />
<map id="M" unc="77" />
<map id="N" unc="78" />
<map id="O" unc="79" />
<map id="P" unc="80" />
<map id="Q" unc="81" />
<map id="R" unc="82" />
<map id="S" unc="83" />
<map id="T" unc="84" />
<map id="U" unc="85" />
<map id="V" unc="86" />
<map id="W" unc="87" />
<map id="X" unc="88" />
<map id="Y" unc="89" />
<map id="Z" unc="90" />
<map id="a" unc="97" />
<map id="ampersand" unc="38" />
<map id="b" unc="98" />
<map id="braceleft" unc="123" />
<map id="braceright" unc="125" />
<map id="bracketleft" unc="91" />
<map id="bracketright" unc="93" />
<map id="c" unc="99" />
<map id="colon" unc="58" />
<map id="comma" unc="44" />
<map id="d" unc="100" />
<map id="degree" unc="176" />
<map id="dollar" unc="36" />
<map id="e" unc="101" />
<map id="eight" unc="56" />
<map id="equal" unc="61" />
<map id="exclam" unc="33" />
<map id="f" unc="102" />
<map id="five" unc="53" />
<map id="four" unc="52" />
<map id="g" unc="103" />
<map id="greater" unc="62" />
<map id="h" unc="104" />
<map id="hyphen" unc="45" />
<map id="i" unc="105" />
<map id="j" unc="106" />
<map id="k" unc="107" />
<map id="l" unc="108" />
<map id="less" unc="60" />
<map id="m" unc="109" />
<map id="multiply" unc="215" />
<map id="n" unc="110" />
<map id="nine" unc="57" />
<map id="o" unc="111" />
<map id="one" unc="49" />
<map id="p" unc="112" />
<map id="parenleft" unc="40" />
<map id="parenright" unc="41" />
<map id="percent" unc="37" />
<map id="period" unc="46" />
<map id="plus" unc="43" />
<map id="q" unc="113" />
<map id="question" unc="63" />
<map id="quoteleft" unc="8216" />
<map id="quoteright" unc="8217" />
<map id="quotesingle" unc="39" />
<map id="r" unc="114" />
<map id="s" unc="115" />
<map id="semicolon" unc="59" />
<map id="seven" unc="55" />
<map id="six" unc="54" />
<map id="slash" unc="47" />
<map id="space" unc="32" />
<map id="t" unc="116" />
<map id="three" unc="51" />
<map id="two" unc="50" />
<map id="u" unc="117" />
<map id="v" unc="118" />
<map id="w" unc="119" />
<map id="x" unc="120" />
<map id="y" unc="121" />
<map id="z" unc="122" />
<map id="zero" unc="48" />

As i said i haven't tested everything so you may want to try different extensions.You have to change every block though and there are over 70. :)
I have heard that even vectors will work.Agreeably creating the fonts in Inkscape and saving them as PNG that way would be ideal, but i have heard that the xml code will except SVG although i didn't test that either.

Further versions i guess.

Try some different things let me know how they work and the next release i will include them.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 1:14 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Remember you will also have to add a new glyph block if you add a unicode and it needs to be placed above the cap A glyph.I have no idea what the unicode id is either.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 1:28 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Ahh; made the assumption that if you had the symbol/letter/number in the xcf, you had the equivalent in your PHP. Thanks for the map too but I did find that your PHP file could be opened in wordpad and got that there. What I first plan to do is rename all the characters to the proper name from your sample and then eventually create my own, but it will still be a matter of time. Again, thanks for sharing this with us. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 1:57 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
<map id="at" unc="64" />
<map id="numbersign" unc="35" /> :)

Just use these glyph blocks

    <glyph id="numbersign">
   <image id="v0" type="photo">
    <shape system="images/numbersign.png">
     <ppm int="480" />
     <bbox x="20" y="-5" width="500" height="700" />
     <base x="-20" y="500" />
     <delta x="444" y="0" />
    </shape>
   </image>
  </glyph>
 
    <glyph id="at">
   <image id="v0" type="photo">
    <shape system="images/at.png">
     <ppm int="480" />
     <bbox x="20" y="-5" width="500" height="700" />
     <base x="-20" y="500" />
     <delta x="444" y="0" />
    </shape>
   </image>
  </glyph>


Name your images
numbersign.png and at.png

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 1:58 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2255
Location: Poland
To the point- 6 everything is clear.
Opening Non_Embedded_PHF no effect (other work).
Where to find my mistake?


Attachments:
Photofont Start 1.png
Photofont Start 1.png [ 41.61 KiB | Viewed 13494 times ]
Photofont Start 2.png
Photofont Start 2.png [ 10.84 KiB | Viewed 13494 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 2:37 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Rod wrote:
<map id="at" unc="64" />
<map id="numbersign" unc="35" /> :)

Just use these glyph blocks

    <glyph id="numbersign">
   <image id="v0" type="photo">
    <shape system="images/numbersign.png">
     <ppm int="480" />
     <bbox x="20" y="-5" width="500" height="700" />
     <base x="-20" y="500" />
     <delta x="444" y="0" />
    </shape>
   </image>
  </glyph>
 
    <glyph id="at">
   <image id="v0" type="photo">
    <shape system="images/at.png">
     <ppm int="480" />
     <bbox x="20" y="-5" width="500" height="700" />
     <base x="-20" y="500" />
     <delta x="444" y="0" />
    </shape>
   </image>
  </glyph>


Name your images
numbersign.png and at.png


Cool Rod; will add those entries when I get back. I was going to try to decipher it myself since you laid out your code so easily to do so (and you know I'm really not a coder; just a figure it out-er. lol). :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 3:49 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 583
Sorry I am late to say this but YAYAYAYAYAYAYAYAYA! Finally those days of waiting is over. BTW Rod I think I might have figured out how to do multiple phf per user. I will try it out and let you know.

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 4:46 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Hey Rod; Just tested using your refereence and it works. Happy I am. Now the next task is to create my own fonts which I may do later if I get off my lazy behind to do so. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Wed Mar 07, 2012 9:49 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 583
MareroQ wrote:
To the point- 6 everything is clear.
Opening Non_Embedded_PHF no effect (other work).
Where to find my mistake?

Did you make any images and place them in the image directory as per the instructions?

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Thu Mar 08, 2012 12:21 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
@ MareroQ - Yes you must create the images first. (use the XCF template) :)
Also i boo booed. Microsoft see's a.png and A.png as the same file ... woops
When you create the small letters you need to place those in a separate folder and change it in the phf file to reflect it.
ie... C:\Documents and Settings\YourUserFolder\My Documents\Photofonts\images\nonCaps\a.png
and. C:\Documents and Settings\YourUserFolder\My Documents\Photofonts\images\A.png
All the symbols can still be placed in the images folder with the caps.

and in the a.png glyph block (this will have to be done for all the small letters)
<shape system="images/nonCaps/a.png">

I will edit the original phf file i have and re upload it to reflect that change so no-one has to do it. Otherwise if you want to you can edit it yourself.

Sorry about that guys. :gaah

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Thu Mar 08, 2012 12:45 am  (#15) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Rod you have done an excellant job of this.Its easy enough even us old fellas can understand.Now to do my own font. :bigthup

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Thu Mar 08, 2012 1:36 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks Graechan. :)

I have gone ahead and fixed the code to reflect the new additions and changes.
Added (at, numbersign, and the asterisk @,#, *) , and i also added the glyph blocks for them. I am adding a sample font that includes just about everything. Broken Blue Bevel i call it. :lol
It comes with the new install.
Be sure and create a new folder named nonCaps inside the image folder. The code reflects it like this...
<shape system="images/nonCaps/a.png">


Image

A couple symbols are not there but most common ones are.

Oh and i also added the nonCaps/ folder into the code. :)
Should be good to go now. Attachment updated at the beginning of this thread.

Please let me know if anything is missing. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Thu Mar 08, 2012 2:09 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Just realized there is a halo around the glyphs that screams out for Robs flood transparency filter. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.0 (PSPPI-1.0)
PostPosted: Thu Mar 08, 2012 2:36 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Well it doesn't look too awful bad after all. (on a white bg) :lol

Image

I have no idea what happened to the E. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.5 (PSPPI-1.0)
PostPosted: Thu Mar 08, 2012 3:05 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Thanks Rod; definitely cool that you can use whatever you want as a font. Just playing with you included one for this new update. Still too lazy to create my own but do plan to eventually do so. What would be cool is to be able to directly use an XCF file for characters and have the program parse the letters, but that would be quite complicated. :)


Attachments:
tr.png
tr.png [ 106.49 KiB | Viewed 1865 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Photofont Start/PHF Photofont installer 1.5 (PSPPI-1.5)
PostPosted: Thu Mar 08, 2012 4:27 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
It looks like i need to edit the baseline for the small letters a bit more. :)
I will get to that asap.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 61 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Auto Installer

7

No new posts Will it need to be done again from the start?

5

No new posts Attachment(s) Old Hobby New Start

25

No new posts Attachment(s) Start button for games

2

No new posts APPLICATION WAS UNABLE TO START PROPERLY

3



* Login  



Powered by phpBB3 © phpBB Group