public string GetPdfFont(string facename)
		{
			PdfFontEntry fe = (PdfFontEntry) fonts[facename];
			if (fe != null)
				return fe.font;

			string name = "F" + (fonts.Count + 1).ToString();
			fe = new PdfFontEntry(pa, name, facename);
			fonts.Add(facename, fe);
			return fe.font;
		}
Example #2
0
        public string GetPdfFont(string facename)
        {
            PdfFontEntry fe = (PdfFontEntry)fonts[facename];

            if (fe != null)
            {
                return(fe.font);
            }

            string name = "F" + (fonts.Count + 1).ToString();

            fe = new PdfFontEntry(pa, name, facename);
            fonts.Add(facename, fe);
            return(fe.font);
        }