public FontFactory(ILog log, Type0FontHandler type0FontHandler, TrueTypeFontHandler trueTypeFontHandler) { this.log = log; handlers = new Dictionary <CosName, IFontHandler> { { CosName.TYPE0, type0FontHandler }, { CosName.TRUE_TYPE, trueTypeFontHandler } }; }
public FontFactory(ILog log, Type0FontHandler type0FontHandler, TrueTypeFontHandler trueTypeFontHandler, Type1FontHandler type1FontHandler, Type3FontHandler type3FontHandler) { this.log = log; handlers = new Dictionary <NameToken, IFontHandler> { { NameToken.Type0, type0FontHandler }, { NameToken.TrueType, trueTypeFontHandler }, { NameToken.Type1, type1FontHandler }, { NameToken.Type3, type3FontHandler } }; }