Error attempting to convert 'VAG Rounded Thin' font

Bug #487040 reported by Mick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
typeface.js
New
Undecided
Unassigned

Bug Description

Hello there, first off, wonderful software, just brilliant. Used successfully on a number of other projects but run into difficulty attempting to convert a specific font on your website.

The font is 'VAG Rounded Thin Regular', goes by the filename 'VRT____.TTF', have attached this file to the ticket.

The exception message displayed is:

error: error loading freetype glyph: invalid argument at /www/sites/typeface/lib/Font/TypefaceJS.pm line 254.
context:
...
250: ) {
251: return;
252: }
253:
254: $typeface->{glyphs}->{$character}->{ha} = $glyph->horizontal_advance;
255:
256: my $bbox;
257: ($bbox->{xMin}, $bbox->{yMin}, $bbox->{xMax}, $bbox->{yMax}) = $glyph->outline_bbox();
258:
...
code stack: /www/sites/typeface/lib/Font/TypefaceJS.pm:254
/www/sites/typeface/lib/Font/TypefaceJS.pm:295
/www/sites/typeface/lib/Font/TypefaceJS.pm:127
/www/sites/typeface/docs/fonts.html:237
/www/sites/typeface/docs/autohandler:5

Then there's a 'raw error' below (but I won't bore you with that).

Thanks, good luck.

Tags: convert font
Revision history for this message
Mick (onemick) wrote :
Revision history for this message
Mick (onemick) wrote :

Just wanted to add that the exception appears immediately after the first step in the font conversion process, you don't even get to the breakdown of the character set to decide which bits you want.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.