Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: OpenType Fonts support in CPAN

by sanPerl (Friar)
on Dec 10, 2007 at 15:32 UTC ( #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)


Comment on Re^4: OpenType Fonts support in CPAN
Download Code
Re^5: OpenType Fonts support in CPAN
by talexb (Canon) 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
Node Status?
node history
Node Type: note [id://656144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-09-19 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (135 votes), past polls