protected void addSubtable(GlyphSubtable subtable) {
        if (subtable instanceof GlyphClassSubtable) {
            this.gct = (GlyphClassSubtable) subtable;
        } else if (subtable instanceof AttachmentPointSubtable) {
            // TODO - not yet used
            // this.apt = (AttachmentPointSubtable) subtable;
        } else if (subtable instanceof LigatureCaretSubtable) {
            // TODO - not yet used
            // this.lct = (LigatureCaretSubtable) subtable;
        } else if (subtable instanceof MarkAttachmentSubtable) {
            this.mat = (MarkAttachmentSubtable) subtable;
        } else {
            throw new UnsupportedOperationException("unsupported glyph definition subtable type: " + subtable);
        }
    }
protected void addSubtable(GlyphSubtable subtable) {
        if (subtable instanceof GlyphClassSubtable) {
            this.gct = (GlyphClassSubtable) subtable;
        } else if (subtable instanceof AttachmentPointSubtable) {
           
           
        } else if (subtable instanceof LigatureCaretSubtable) {
           
           
        } else if (subtable instanceof MarkAttachmentSubtable) {
            this.mat = (MarkAttachmentSubtable) subtable;
        } else {
            throw new UnsupportedOperationException("unsupported glyph definition subtable type: " + subtable);
        }
    }
protected void addsubtable(glyphsubtable subtable) { if (subtable instanceof glyphclasssubtable) { this.gct = (glyphclasssubtable) subtable; } else if (subtable instanceof attachmentpointsubtable) { } else if (subtable instanceof ligaturecaretsubtable) { } else if (subtable instanceof markattachmentsubtable) { this.mat = (markattachmentsubtable) subtable; } else { throw new unsupportedoperationexception("unsupported glyph definition subtable type: " + subtable); } }