src/third_party/specimenTools/lib/widgets/PerFont.js
/**
     * PerFont clones blueprint elements with the CSS-class `{bluePrintNodeClass}`
     * once nodes per loaded font file and applies the style for the font
     * to elements marked with CSS-class `{currentFontClass}`.
     * Elements marked with CSS-class `{fontDataClass}` behave similar
     * to the host elements of the widget `GenericFontData`. The DOM-attribute
     * "data-getter" is also used in this context.
     *
     * The font files are ordered by: FamilyName, Weight, Style (normal < italic)
     */
PerFont clones blueprint elements with the CSS-class `{bluePrintNodeClass}`
once nodes per loaded font file and applies the style for the font
to elements marked with CSS-class `{currentFontClass}`.
Elements marked with CSS-class `{fontDataClass}` behave similar
to the host elements of the widget `GenericFontData`. The DOM-attribute
"data-getter" is also used in this context.

The font files are ordered by: FamilyName, Weight, Style (normal < italic)
PerFont clones blueprint elements with the CSS - class ` { bluePrintNodeClass } ` once nodes per loaded font file and applies the style for the font to elements marked with CSS - class ` { currentFontClass } ` . Elements marked with CSS - class ` { fontDataClass } ` behave similar to the host elements of the widget ` GenericFontData ` . The DOM - attribute " data - getter " is also used in this context . The font files are ordered by : FamilyName Weight Style ( normal < italic )
function PerFont(container, pubSub, fontsData, webFontProvider, options) {
        Parent.call(this, options);
        this._container = container;
        this._pubSub = pubSub;
        this._fontsData = fontsData;
        this._webFontProvider = webFontProvider;
        this._pubSub.subscribe('allFontsLoaded', this._onAllFontsLoaded.bind(this));
        this._contentElements = [];
        this._bluePrintNodes = this._getBluePrintNodes();
    }
function PerFont ( container , pubSub , fontsData , webFontProvider , options ) { Parent . call ( this , options ) ; this . _container = container ; this . _pubSub = pubSub ; this . _fontsData = fontsData ; this . _webFontProvider = webFontProvider ; this . _pubSub . subscribe ( 'allFontsLoaded' , this . _onAllFontsLoaded . bind ( this ) ) ; this . _contentElements = [ ] ; this . _bluePrintNodes = this . _getBluePrintNodes ( ) ; }
PerFont clones blueprint elements with the CSS-class `{bluePrintNodeClass}`
 once nodes per loaded font file and applies the style for the font
 to elements marked with CSS-class `{currentFontClass}`.
PerFont clones blueprint elements with the CSS - class ` { bluePrintNodeClass } ` once nodes per loaded font file and applies the style for the font to elements marked with CSS - class ` { currentFontClass } ` .