PdfFont.courier constructor

PdfFont.courier(
  1. PdfDocument pdfDocument
)

Monospaced slab serif typeface.

Implementation

factory PdfFont.courier(PdfDocument pdfDocument) {
  return PdfType1Font.create(
    pdfDocument,
    fontName: 'Courier',
    ascent: 0.910,
    descent: -0.220,
    fontBBox: [-23, -250, 715, 805],
    capHeight: 562,
    stdHW: 84,
    stdVW: 106,
    isFixedPitch: true,
  );
}