public PdfFont CreateFont(/*string fontname,*/ string subtype, string basefont) { var f = new PdfFont(++objectcounter, /*fontname,*/ subtype, basefont); trailer.Add(f); resources.addFont(f); return f/*.FontName*/; }
public void DrawText(string text, double x, double y, PdfFont font, double fontzsize, RgbColor color) { DrawText(text, x, y, font.FontName, fontzsize, color); }
public void addFont(PdfFont font) { fonts.Add(font); }