@shotstack/shotstack-canvas 1.9.1 → 1.9.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.
@@ -642,19 +642,12 @@ var FontRegistry = class _FontRegistry {
642
642
  if (!this.colorEmojiFontBytes.has(desc.family)) {
643
643
  this.colorEmojiFontBytes.set(desc.family, bytes.slice(0));
644
644
  }
645
- console.log(`\u{1F3A8} Registered color emoji font: ${desc.family}`);
646
645
  }
647
646
  if (fkFont.variationAxes && Object.keys(fkFont.variationAxes).length > 0) {
648
647
  const variationFont = fkFont.getVariation({ wght: weightNum });
649
648
  this.fontkitFonts.set(k, variationFont);
650
- if (!isColorEmojiFont) {
651
- console.log(`\u2705 Registered variable font: ${desc.family} weight=${weightNum}`);
652
- }
653
649
  } else {
654
650
  this.fontkitFonts.set(k, fkFont);
655
- if (!isColorEmojiFont) {
656
- console.log(`\u2705 Registered static font: ${desc.family}`);
657
- }
658
651
  }
659
652
  } catch (err) {
660
653
  console.warn(`\u26A0\uFE0F Fontkit failed for ${desc.family}:`, err);
@@ -745,9 +738,6 @@ var FontRegistry = class _FontRegistry {
745
738
  try {
746
739
  const variationFont = baseFkFont.getVariation({ wght: targetWeightNum });
747
740
  this.fontkitFonts.set(k, variationFont);
748
- console.log(
749
- `\u2705 Derived variable font: ${targetFamily} weight=${targetWeightNum} from existing registration`
750
- );
751
741
  } catch (err) {
752
742
  this.fontkitFonts.set(k, baseFkFont);
753
743
  console.warn(`\u26A0\uFE0F Could not apply weight variation, using base font for ${targetFamily}`);
@@ -598,19 +598,12 @@ var FontRegistry = class _FontRegistry {
598
598
  if (!this.colorEmojiFontBytes.has(desc.family)) {
599
599
  this.colorEmojiFontBytes.set(desc.family, bytes.slice(0));
600
600
  }
601
- console.log(`\u{1F3A8} Registered color emoji font: ${desc.family}`);
602
601
  }
603
602
  if (fkFont.variationAxes && Object.keys(fkFont.variationAxes).length > 0) {
604
603
  const variationFont = fkFont.getVariation({ wght: weightNum });
605
604
  this.fontkitFonts.set(k, variationFont);
606
- if (!isColorEmojiFont) {
607
- console.log(`\u2705 Registered variable font: ${desc.family} weight=${weightNum}`);
608
- }
609
605
  } else {
610
606
  this.fontkitFonts.set(k, fkFont);
611
- if (!isColorEmojiFont) {
612
- console.log(`\u2705 Registered static font: ${desc.family}`);
613
- }
614
607
  }
615
608
  } catch (err) {
616
609
  console.warn(`\u26A0\uFE0F Fontkit failed for ${desc.family}:`, err);
@@ -701,9 +694,6 @@ var FontRegistry = class _FontRegistry {
701
694
  try {
702
695
  const variationFont = baseFkFont.getVariation({ wght: targetWeightNum });
703
696
  this.fontkitFonts.set(k, variationFont);
704
- console.log(
705
- `\u2705 Derived variable font: ${targetFamily} weight=${targetWeightNum} from existing registration`
706
- );
707
697
  } catch (err) {
708
698
  this.fontkitFonts.set(k, baseFkFont);
709
699
  console.warn(`\u26A0\uFE0F Could not apply weight variation, using base font for ${targetFamily}`);
package/dist/entry.web.js CHANGED
@@ -598,19 +598,12 @@ var _FontRegistry = class _FontRegistry {
598
598
  if (!this.colorEmojiFontBytes.has(desc.family)) {
599
599
  this.colorEmojiFontBytes.set(desc.family, bytes.slice(0));
600
600
  }
601
- console.log(`\u{1F3A8} Registered color emoji font: ${desc.family}`);
602
601
  }
603
602
  if (fkFont.variationAxes && Object.keys(fkFont.variationAxes).length > 0) {
604
603
  const variationFont = fkFont.getVariation({ wght: weightNum });
605
604
  this.fontkitFonts.set(k, variationFont);
606
- if (!isColorEmojiFont) {
607
- console.log(`\u2705 Registered variable font: ${desc.family} weight=${weightNum}`);
608
- }
609
605
  } else {
610
606
  this.fontkitFonts.set(k, fkFont);
611
- if (!isColorEmojiFont) {
612
- console.log(`\u2705 Registered static font: ${desc.family}`);
613
- }
614
607
  }
615
608
  } catch (err) {
616
609
  console.warn(`\u26A0\uFE0F Fontkit failed for ${desc.family}:`, err);
@@ -701,9 +694,6 @@ var _FontRegistry = class _FontRegistry {
701
694
  try {
702
695
  const variationFont = baseFkFont.getVariation({ wght: targetWeightNum });
703
696
  this.fontkitFonts.set(k, variationFont);
704
- console.log(
705
- `\u2705 Derived variable font: ${targetFamily} weight=${targetWeightNum} from existing registration`
706
- );
707
697
  } catch (err) {
708
698
  this.fontkitFonts.set(k, baseFkFont);
709
699
  console.warn(`\u26A0\uFE0F Could not apply weight variation, using base font for ${targetFamily}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/shotstack-canvas",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Text layout & animation engine (HarfBuzz) for Node & Web - fully self-contained.",
5
5
  "type": "module",
6
6
  "main": "./dist/entry.node.cjs",