Exemple #1
0
        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*/;
        }
Exemple #2
0
 public void DrawText(string text, double x, double y, PdfFont font, double fontzsize, RgbColor color)
 {
     DrawText(text, x, y, font.FontName, fontzsize, color);
 }
Exemple #3
0
 public void addFont(PdfFont font)
 {
     fonts.Add(font);
 }