Bluehost.com Web Hosting $6.95

imageloadfont() broken?

This is a discussion on imageloadfont() broken? within the PHP General forums, part of the PHP Programming Forums category; Ok ive spent numerous hours trying to just find one working example of imageloadfont() and i have yet to come ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2003
Paul
 
Posts: n/a
Default imageloadfont() broken?

Ok ive spent numerous hours trying to just find one
working example of imageloadfont() and i have yet to
come across one.

Right now im at about the point to hack apart the gd
source code to change one of their built in fonts. but
id rather not do that.

So exactly how does imageloadfont() work, what does
the file extension look like that it requires?

Also what about if i want to create my own gdfont, in
the src it looks like

0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,
1, 1, 0, 0, 1, 1, 0,
1, 1, 1, 0, 1, 1, 0,
1, 1, 1, 0, 1, 1, 0,
1, 1, 1, 1, 1, 1, 0,
1, 1, 0, 1, 1, 1, 0,
1, 1, 0, 1, 1, 1, 0,
1, 1, 0, 0, 1, 1, 0,
1, 1, 0, 0, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,

for char 78 which is a N
and it also includes the

gdFont gdFontMediumBoldRep = {
256,
0,
7,
13,
gdFontMediumBoldData
};


Which i fully understand, im just curious exactly what
is this imageloadfont() looking for. do I just make
my own gd file, compile it to a binary, and name it
myfont.gd ? or what? otherwise gonna just reinstall
the font into gd itself, but be nice that a function
thats labelled in the manual actually works on some
sort of live example.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0