harfbuzzjs 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/hbjs.js +2 -2
  2. package/package.json +1 -1
package/hbjs.js CHANGED
@@ -515,7 +515,7 @@ function hbjs(Module) {
515
515
  **/
516
516
  hExtents: function () {
517
517
  var sp = stackSave();
518
- var extentsPtr = stackAlloc(12);
518
+ var extentsPtr = stackAlloc(48);
519
519
  exports.hb_font_get_h_extents(ptr, extentsPtr);
520
520
  var extents = {
521
521
  ascender: Module.HEAP32[extentsPtr / 4],
@@ -531,7 +531,7 @@ function hbjs(Module) {
531
531
  **/
532
532
  vExtents: function () {
533
533
  var sp = stackSave();
534
- var extentsPtr = stackAlloc(12);
534
+ var extentsPtr = stackAlloc(48);
535
535
  exports.hb_font_get_v_extents(ptr, extentsPtr);
536
536
  var extents = {
537
537
  ascender: Module.HEAP32[extentsPtr / 4],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harfbuzzjs",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Minimal version of HarfBuzz for JavaScript use",
5
5
  "main": "index.js",
6
6
  "scripts": {