You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi thank you for this library. It makes my life easier :)
I have some problem with this code. It tries to call writeUint32LE, but it seems to be undefined.
functionttf2eot(arrayBuffer){constarr=Buffer.from(arrayBuffer);constout=Buffer.alloc(SIZEOF.EOT_PREFIX,0);out.writeUint32LE(arr.length,EOT_OFFSET.FONT_LENGTH);out.writeUint32LE(MAGIC.EOT_VERSION,EOT_OFFSET.VERSION);// other code ...}
Hi thank you for this library. It makes my life easier :)
I have some problem with this code. It tries to call
writeUint32LE
, but it seems to be undefined.I found a stackoverflow anser here https://stackoverflow.com/a/38543218/2638899
saying that i could use DataView
My problem is that
ttf2eot
function is based onBuffer
and refactor it withDataView
is not doable.Do you have any suggestions? Can i use another method instead of
writeUint32LE
?The text was updated successfully, but these errors were encountered: