Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Need help installing Font::TTF

by crazyinsomniac (Prior)
on Oct 20, 2002 at 06:49 UTC ( #206633=note: print w/replies, xml ) Need Help??

in reply to Need help installing Font::TTF

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.


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

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;"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://206633]
[Eily]: if there's a pun in there I didn't get it :x
[marto]: <tr class="even-row item-004 auth-221725"> is there, but no content seemingly
[Corion]: Hmm - these nodes are usually cached, so something doing the cache update broke, I guess
[Eily]: I do see a content, the n5
[marto]: 5 is an Odd_number
[Corion]: That could fix itself within the next 24 hours :)
[marto]: we should blame LanX
[marto]: purely because he isn't here :P
[Eily]: marto oh ok, since normally it would have been 1, which is odd as well, I didn't think this was what you were refering to
[Eily]: what? Does that mean we can't blame LanX when he's there?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2018-03-20 09:56 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (248 votes). Check out past polls.