"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CffGlyphFdSelectSink = void 0;
class CffGlyphFdSelectSink {
    constructor(glyphs, mapping) {
        this.glyphs = glyphs;
        this.mapping = mapping;
    }
    getGlyphCount() {
        return this.glyphs.length;
    }
    put(gid, fd) {
        this.mapping.set(this.glyphs.at(gid), fd);
    }
}
exports.CffGlyphFdSelectSink = CffGlyphFdSelectSink;
//# sourceMappingURL=glyph-data-sink.js.map