Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I ran into that once as well. After googling I have found that what folk'll do to get around that is write the command line out to a file, and then read it in.

ExtUtils::MakeMaker might be able to do that, but I know that in the perl source, in the win32 nmake makefile it's done pretty much by hand, since the makefile was written by hand (or so it appears).

Anyway, I just downloaded Font-TTF-0.32 and did "the make dance" without encountering the problem you describe.

I then looked a little closer, and noticed a "setup.bat", which used "pmake.bat", so I ran that, and still things went well.

I'm guessing you were using some older version.

I'm on Win2000 here.

update:

perl - C:\WINDOWS\Fonts\arial.ttf C:\WINNT\Fonts\arial.ttf use strict; use Font::TTF::Font; use Data::Dumper; for $ARGV(@ARGV) { my $f = Font::TTF::Font->open($ARGV) or warn "couldn't open $ARGV $!" and next; # print Dumper $f; print "say what now? ", $f->{'hmtx'}->read->{'advance'}[0x0020]; } __END__ couldn't open C:\WINDOWS\Fonts\arial.ttf No such file or directory at +- line 6. say what now? 1196

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"


In reply to Re: Need help installing Font::TTF by crazyinsomniac
in thread Need help installing Font::TTF by Popcorn Dave

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found