Exemple #1
0
        /// <summary>
        ///     Creates an instance of the <see cref="PdfType1Font"/> class
        /// </summary>
        /// <param name="pdfFontID">The Pdf font identifier, e.g. F15</param>
        /// <param name="base14"></param>
        /// <returns></returns>
        private PdfType1Font CreateBase14Font(string pdfFontID, Base14Font base14)
        {
            PdfType1Font type1Font = new PdfType1Font(
                NextObjectId(), pdfFontID, base14.FontName);

            type1Font.Encoding = new PdfName(base14.Encoding);

            return(type1Font);
        }
Exemple #2
0
        /// <summary>
        ///     Creates an instance of the <see cref="PdfType1Font"/> class
        /// </summary>
        /// <param name="pdfFontID">The Pdf font identifier, e.g. F15</param>
        /// <param name="base14"></param>
        /// <returns></returns>
        private PdfType1Font CreateBase14Font(string pdfFontID, Base14Font base14)
        {
            PdfType1Font type1Font = new PdfType1Font(
                NextObjectId(), pdfFontID, base14.FontName);
            type1Font.Encoding = new PdfName(base14.Encoding);

            return type1Font;
        }