Cant get it working on the command line

112 views
Skip to first unread message

DM

unread,
Oct 5, 2010, 11:41:34 AM10/5/10
to cufón
I am using windows XP. using the command line I am trying to generate
cufon javascript for a font -- these are the variations I have tried
and this is the response I am getting :

all the errors are basically just these 2 lines:
1. 'which' is not recognized as an internal or external command,
operable program or batch file.
2. Could not find FontForge binary

Can you tell me how to work around these or am I doing something
wrong.

These are the things I have tried (note, I copied the sc.ttf file is
in the generate directory to make the process simple):

C:\wamp\www\cufon\generate>php convert.php sc.ttf -u > sc.js
'which' is not recognized as an internal or external command,
operable program or batch file.

C:\wamp\www\cufon\generate>php convert.php sc.ttf > sc.js
'which' is not recognized as an internal or external command,
operable program or batch file.

C:\wamp\www\cufon\generate>php convert.php sc.ttf -u "U+??" > sc.js
'which' is not recognized as an internal or external command,
operable program or batch file.

C:\wamp\www\cufon\generate>php convert.php sc.ttf sc.js
'which' is not recognized as an internal or external command,
operable program or batch file.
Could not find FontForge binary

Simo Kinnunen

unread,
Oct 5, 2010, 10:43:08 PM10/5/10
to cu...@googlegroups.com
Hi,

Sorry but you're probably on your own. You might have more luck with http://www.cygwin.com/ (should at least get rid of the 'which' error), but you might still not be able to get it to run properly. Note that you will also have to install FontForge. I'm not sure how it works with cygwin, you might be able to use the normal FF installer and then specify the path to the binary manually (see php convert.php --help). But yeah, you're pretty much on your own.

Simo

> --
> You received this message because you are subscribed to the Google Groups "cufón" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cufon+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cufon?hl=en.
>

DM

unread,
Oct 10, 2010, 5:13:36 AM10/10/10
to cufón
Thanks for taking the time to reply.

Tried getting Cygwin and FontForge. Couldn't get FontForge to work. I
am installing a virtual copy of Ubuntu. Guess It'll be easier there.

Really, Appreciate what you are doing. Thanks! : )
Reply all
Reply to author
Forward
0 new messages