pureMango.co.uk
there's nothing about mangos or purity. It's just a name..Find great deals on an all-in-one PDF converter today. You can find a PDF to Excel converter, or even invest in a PDF server to simplify the document sharing process. PDF conversion and sharing has never been so easy.
This simple script takes a PNG as input, and creates a GD compatible font from it. The online demo includes an example PNG and detailed usage instructions.
demo - source
If you're looking to re-create existing fonts, try the windows font to GD Font convertor by philiplb.de
I think my script is more useful for creating your own custom GD fonts, or if you want to modify an existing font (or for learning exactly how GD fonts are constructed).
Who: Mike - Austin TX
When: May 2nd, 2005
Says: Nice script. Very handy. Thanks!!
Who:
When: July 12th, 2005
Says: I like it alot
Who:
When: August 10th, 2005
Says: Awesome - this works great. Just a note to all using photoshop: use 'File->Save As' PNG, not 'File->Save for Web' to create a non-interlaced PNG for input - otherwise it won't work.
Thanks again for saving me - now I have a copy of MINI7 that I can generate images with.
---
from u24:
no problem :-) and thanks for the PS tip!
Who:
When: August 18th, 2005
Says: Great tool, can't believe I actually managed to get get one of these complicated things to work! But I did!!! Cheers
Who:
When: March 24th, 2006
Says: So good! I can make google font online....
Demo:www.gugirl.net
THanks
A chinese guy!
Who:
When: May 15th, 2006
Says: Great tool, Very helpful, for generating different types of font files
Who:
When: June 3rd, 2006
Says: It's great however when I used it with PHP's imageloadfont() function it didn't quite work. My text turned into white slashes and boxes.. can you perhaps look at my PNG image and see what I did wrong?
http://img83.imageshack.us/img83/9205/untitled1copy4xv.png
Who:
When: September 18th, 2006
Says: Cool Script, thanks
Who:
When: October 28th, 2006
Says: Works for me! THX!
Who:
When: November 9th, 2006
Says: Hmm the font to gdf program you linked to leaves alot of padding around the characters. Very noticable and not good at all. I\'ll give yours a try instead.
Who:
When: February 19th, 2007
Says: Hi there,
The tool didn't generate a valid font on my Apple PPC. To make it architecture independet I changed line 42 to:
// encode this at start of font
$fontdata = pack("L",$numchars).pack("L",$startchar).pack("L",$pixelwidth).pack("L",$pixelheight);
hope it's useful for somebody...
joern
---
from u24:
ah, thanks, I really appreciate that.
Who:
When: April 29th, 2007
Says: These may be simple questions, but I just don't seem to get it.
If I want to use all caps and lower letters and numbers, what do I put in the 'total number of characters' and 'starting character' fields?
How do I use different fonts?
Also, what should the PNG image be? Should it be a plain white image, or any kind of image within it??
Thanks,
Pasquale
---
from u24:
you'd need to create a PNG with the following characters evenly spaced in black on a white background:
0123456789:;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
the starting character would be zero (0), and the number of characters would be 79
the character width and height would have to be determined by you; see the example linked in the demo.
Who: N8 plukker
When: May 17th, 2007
Says: A "windows ttf to gdf"-convertor by Philip Lehmann-Böhm from philiplb.de:
http://dev.emoritzx.com/vault.php?file=GDFontGenerator.zip
Who:
When: June 12th, 2007
Says: Hi
I am using sr_freecap extension with wec_discussion extension. I have insert it on page but seeing on frontend there is no image and when I tried to view image following error is displaying:
typo3conf/ext/sr_freecap/pi1/class.tx_srfreecap_pi1.php on line 237
Please tell me about this error. how I can resolve this problem.
Thanks
regards
Kuldev Bisht
---
from u24:
You've posted this on the wrong page. There's a dedicated area for freecap support. This page is for a different script.
Regardless of that, you're actually using a third-party script built on top of freecap - you should talk to the developers of the sr_freecap extension about the error. I'm not involved with development of that.
Who:
When: June 14th, 2007
Says: oh!!!!!!! sorry for this.
---
from u24:
no problem - I hope you get it sorted out :)
Who:
When: July 12th, 2007
Says: In order to show hilites and shadows, I need to create an 8 bit "greyscale" font rather than the single "black" color. Is this possible?
If not, are there any php gd scripts available for tranposing an array of characters into corresponding images? (ie each character will have its own unique image file on disk, rather than a single font file)
Thanks
---
from u24:
no, and no.
but what you can so is write the string in grey at x,y then write it in black at x-1, y-1; thus creating a dropshadow effect.
Who:
When: November 9th, 2007
Says: I tried use it with no good results.
I save the example imagem on disk , edited with my font ( don't know if red and gray line must be in it , guess not, or those not metter since it's not black ).
The thing is that i can't use imagefttest function in my server, so i am trying using GD font.
maybe you can try help me with this image
http://www.w3b2.net/buildGD/fontImg.png
pls send me the font.gdf file to my email.
Thaks
ypahnu
* denotes a required field.
Your email address will be converted to an image to prevent spambots picking it up.









