-
Posts
1 -
Joined
-
Last visited
Posts posted by webelious
-
-
Welcome, Me too, learning the same as you, but have bavkground in HTML/CSS & can "Read" PHP just getting hang of writing it out so it is structured (alot like a sentence when u can read, but need help with writing sentences is the way i put it lol) ... I found a Collaborative of like-minded individuals who help on projects etc, we help each other out, there used to be a site called forrst.me (the old one, before new owners), we got the Crowd-Sourced/Community-Based idea from them to help eaxh other learn and help with each others projects, it's been going good for a few years, but now i'm going from front-end design, as loosing my mates to covid crisis to help with my problems, sp phpFreaks seems like the BB to ask PHP/mySQL based questions for my current 1st project :-)
GOOD LUCK, feel free to ask for help over my way, if i can i will!
BitMap Font File Problems (displays text in converted TXT/NFO 2 PNG too small)
in PHP Coding Help
Posted
I have to show you the way the bitmap font is loaded, to generate the png out of .nfo, .diz & txt files, BUT i need to know how to generate a bitmap font file (mine has no extension, it is an extension of a tiny script i found years ago on a google repository, so it has no extension, its just called 'nfo2pngfont'
here is how it's called in the nfo2png.php file-:
// Load the Bitmap-Font $fnt = imageloadfont("nfo2pngfont");
Here is the nfo2png.php file: (it shows you can alter the font size, but only the [Generated by: NFOPic] is made larger od smaller by changing numbers 1 - 5 ??? it used to work, it's bizzre, not sure if someone who help do some code for me changed something, but DEFINARELY a BUG?
Here is generate_image.php (this generates the PNG file)-:
and get_image.php (shows the link to the PNG image to hotlink or download, etc) -:
I hope someone can help figure this out, you can see live version of the site, to see the trouble, no matter what i change 1-5 to, only the 'footer' [GFenerated By: NFOPic] changes size..... so i'm thinking create a whole new monospaced ascii style bitmap font file like the one the original coder produced...... but not sure how. this is a community project going back years,, just re-launched it as i'm going back to learning php/mysql again after years in JS/jQuery/AJAX/CSS (UX Design & Illustration).... VERY GRATEFUL FOR ANNNNNY HELP! CAN HELP YOU OUT IN RETURN I HOPE, HAVE SOME GREAT RESOURCES, THOUGH LOVE HELP 4 HELP.... GREAT AT ILLUSTRATION!!!! LOGOS ETC.