typeface.js
User / Developer Forum
Error on converting font to typeface format
Ferran
|
4 Mar 2010 7:21
Hello. Thanks for this great script.

Trying to convert a font to a typeface format throught the section 'Fonts' in this website, I get an error. I tried other font and happens the same.

I post the error at the end.
Can you solve it??

Thankyou very much!
Ferran
-------------------------------------------------------------------

System error

error:  couldn't load font: /tmp/apreqKA0Qu9 at /www/sites/typeface/lib/Font/TypefaceJS.pm line 95.
context: 
... 
91:  my %args = @_;
92: 
93:  die "couldn't find filename: $args{input_filename}" unless -e $args{input_filename};
94: 
95:  my $truetype_font = Font::TTF::Font->open($args{input_filename}) || die "couldn't load font: $args{input_filename}";
96: 
97:  $truetype_font->{'OS/2'}->read;
98:  $truetype_font->{'name'}->read;
99: 
... 
code stack:  /www/sites/typeface/lib/Font/TypefaceJS.pm:95
/www/sites/typeface/docs/fonts.html:237
/www/sites/typeface/docs/autohandler:5
raw error
Try another one
|
6 Mar 2010 7:03
The uploader can't read every font file. I don't know why but try different ones and you'll see.
Post a Reply
YOUR NAME
YOUR COMMENT
We don't support HTML, but please use [quote] ... [/quote] tags around quotes.