experiments.hertzen.com
                                
                                
                                
                                    experiments.hertzen.com copied to clipboard
                            
                            
                            
                        Getting other fonts to load (byteOffset)
Was trying to load up a couple of other fonts like LiberationSans-Regular and a simple one glyph .ttf file, but it throws an index size error.
Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 
if (byteOffset + size > this.length) {
console.log("byteOffset: " + byteOffset);                  
throw new Error("INDEX_SIZE_ERR: DOM Exception 1");
}
Looked through it and caught up on basic Open Type tables but couldn't trace things to the source of the problem. How should I set things / where should I look to get it to work with other fonts?
I'm afraid I don't really remember much regarding this project anymore, I'd recommend looking through http://www.microsoft.com/typography/SpecificationsOverview.mspx
Hmm, okay. Thanks anyways. It's pretty specific binary data type stuff, whatever it is. Throws the same error from just re-exporting the working .ttf file from Robofont. I'll keep digging.