Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: OpenType Fonts support in CPAN

by sanPerl (Friar)
on Dec 10, 2007 at 15:32 UTC ( [id://656144]=note: print w/replies, xml ) Need Help??


in reply to Re^3: OpenType Fonts support in CPAN
in thread OpenType Fonts support in CPAN

I just checked it with
if ($img->font('C:\WINNT\aaaZemestrostd-bk.otf')) { print "Done"; };
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)

Replies are listed 'Best First'.
Re^5: OpenType Fonts support in CPAN
by talexb (Chancellor) on Dec 10, 2007 at 15:39 UTC
      It returns prints "Done" even the file "C:\WINNT\aaaZemestrostd-bk.otf" dosen't exists.

    OK, so it appears that the module is broken -- if it doesn't return an error when a specified file is missing, that's an error.

    The font you want to use may not be supported, as you suspect. See if you can get in touch with the authors to get this figured out, and good luck. :)

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://656144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-19 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found