public static PdfData                         ReadFromFiles()
        {
            var rtn = new PdfData()
            {
                FontFamilyCourier = new PdfStandardFontFamily("Courier", "Courier.afm",
                                                              "Courier-Bold.afm",
                                                              "Courier-Oblique.afm",
                                                              "Courier-BoldOblique.afm"),
                FontFamilyHelvetica = new PdfStandardFontFamily("Helvetica", "Helvetica.afm",
                                                                "Helvetica-Bold.afm",
                                                                "Helvetica-Oblique.afm",
                                                                "Helvetica-BoldOblique.afm"),
                FontFamilyTimesRoman = new PdfStandardFontFamily("Courier", "Times-Roman.afm",
                                                                 "Times-Bold.afm",
                                                                 "Times-Italic.afm",
                                                                 "Times-BoldItalic.afm"),
                FontFamilySymbol = new PdfStandardFontFamily("Symbol", "Symbol.afm",
                                                             null,
                                                             null,
                                                             null),
                FontFamilyZapfDingbats = new PdfStandardFontFamily("ZapfDingbats", "ZapfDingbats.afm",
                                                                   null,
                                                                   null,
                                                                   null)
            };

            rtn._indexFonts();

            return(rtn);
        }
        public static PdfData                         ReadEmbedded()
        {
            PdfData rtn = new PdfData()
            {
                _standardFonts = new Dictionary <string, PdfFont>()
            };

            using (BinaryReader reader = new BinaryReader(typeof(PdfData).Assembly.GetManifestResourceStream("Jannesen.FileFormat.Pdf.Data.bin"))) {
                rtn.FontFamilyCourier      = new PdfStandardFontFamily(reader);
                rtn.FontFamilyHelvetica    = new PdfStandardFontFamily(reader);
                rtn.FontFamilyTimesRoman   = new PdfStandardFontFamily(reader);
                rtn.FontFamilySymbol       = new PdfStandardFontFamily(reader);
                rtn.FontFamilyZapfDingbats = new PdfStandardFontFamily(reader);
            }

            rtn._indexFonts();

            return(rtn);
        }