Custom Vector - Index out of Range

0 votes
asked Jul 21, 2016 in Issue by teddy (240 points)

Hi,

First of all, amazing, amazing work on this asset. You should be proud... looking forward to more from you.

I'm trying to import a custom font from Icomoon but am getting an "Index out of Range" exception on this line  of the Vector Image script. Any idea what might be happening?

  Glyph glyph = new Glyph(m_GlyphArray[index].name, m_GlyphArray[index].unicode, true);

smiley

commented Jul 21, 2016 by anonymous
Sorry that's on the VectorImagePickerWindow script.

2 Answers

0 votes
answered Jul 25, 2016 by admin (31,720 points)
selected Aug 22, 2016 by admin
 
Best answer
Hi there,

Looks like it's an icomoon-specific thing. I've updated the scripts that handle importing icomoon zips so it works with sets that were created both before and after they changed whatever it is they changed in them. Apologies for not double-checking that it worked for v1.1.5 :/ The fix will be present in the next update :)

~ Declan.
0 votes
answered Jul 21, 2016 by teddy (240 points)
I noticed that you also support Fontello. I tried that and it's working fine. Could be something specific to Icomoon.
Welcome to MaterialUI support! Ask us anything :)
...