addFont method

void addFont(
  1. PdfFont font
)
inherited

Add a font to this graphic object

Implementation

void addFont(PdfFont font) {
  if (!fonts.containsKey(font.name)) {
    fonts[font.name] = font;
  }
}