Thanks for the reply. The real program is checking existance of font file before feeding to $img->font(...),when I say it dosen't work, it dosen't provide "Hello World" text with the requested Font on screen, inspite of font file being present in the location. It gives blank page
I am trying to build a Font library for my company, where user will get sense of Font looks and he/she can order Font from the library. This is to take care of all licensing issues and to ensure if we can check all fonts anytime.
It returns prints "Done" even the file "C:\WINNT\aaaZemestrostd-bk.otf" dosen't exists. Also i checked with the documentation of GD::Simple, it says "The font to use when drawing text. Both built-in bitmapped fonts and TrueType fonts are supported". I am Not sure if built-in bitmapped fonts include OTF fonts (my knowldge in this subject is very limited)