shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$text_bitmap$AbstractBitmapFont = function(global, require, module, exports) {
  global = require("module$node_modules$eventemitter3$index");
  var deprecation = require("module$node_modules$pixi_DOT_js$lib$utils$logging$deprecation");
  "use strict";
  class AbstractBitmapFont extends global {
    constructor() {
      super(...arguments);
      this.chars = Object.create(null);
      this.lineHeight = 0;
      this.fontFamily = "";
      this.fontMetrics = {fontSize:0, ascent:0, descent:0};
      this.baseLineOffset = 0;
      this.distanceField = {type:"none", range:0};
      this.pages = [];
      this.applyFillAsTint = !0;
      this.baseRenderedFontSize = this.baseMeasurementFontSize = 100;
    }
    get font() {
      deprecation.deprecation(deprecation.v8_0_0, "BitmapFont.font is deprecated, please use BitmapFont.fontFamily instead.");
      return this.fontFamily;
    }
    get pageTextures() {
      deprecation.deprecation(deprecation.v8_0_0, "BitmapFont.pageTextures is deprecated, please use BitmapFont.pages instead.");
      return this.pages;
    }
    get size() {
      deprecation.deprecation(deprecation.v8_0_0, "BitmapFont.size is deprecated, please use BitmapFont.fontMetrics.fontSize instead.");
      return this.fontMetrics.fontSize;
    }
    get distanceFieldRange() {
      deprecation.deprecation(deprecation.v8_0_0, "BitmapFont.distanceFieldRange is deprecated, please use BitmapFont.distanceField.range instead.");
      return this.distanceField.range;
    }
    get distanceFieldType() {
      deprecation.deprecation(deprecation.v8_0_0, "BitmapFont.distanceFieldType is deprecated, please use BitmapFont.distanceField.type instead.");
      return this.distanceField.type;
    }
    destroy(destroyTextures = !1) {
      this.emit("destroy", this);
      this.removeAllListeners();
      for (const i in this.chars) {
        this.chars[i].texture?.destroy();
      }
      this.chars = null;
      destroyTextures && (this.pages.forEach(page => page.texture.destroy(!0)), this.pages = null);
    }
  }
  exports.AbstractBitmapFont = AbstractBitmapFont;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$text_bitmap$AbstractBitmapFont.js.map
