code: func New(orientationStr, unitStr, sizeStr, fontDirStr string) (f *Fpdf) {
  	return fpdfNew(orientationStr, unitStr, sizeStr, fontDirStr, SizeType{0, 0})
  }
docs: // New returns a pointer to a new Fpdf instance. Its methods are subsequently
  // called to produce a single PDF document.
  //
  // orientationStr specifies the default page orientation. For portrait mode,
  // specify "P" or "Portrait". For landscape mode, specify "L" or "Landscape".
  // An empty string will be replaced with "P".
  //
  // unitStr specifies the unit of length used in size parameters for elements
  // other than fonts, which are always measured in points. Specify "pt" for
  // point, "mm" for millimeter, "cm" for centimeter, or "in" for inch. An empty
  // string will be replaced with "mm".
  //
  // sizeStr specifies the page size. Acceptable values are "A3", "A4", "A5",
  // "Letter", "Legal", or "Tabloid". An empty string will be replaced with "A4".
  //
  // fontDirStr specifies the file system location in which font resources will
  // be found. An empty string is replaced with ".". This argument only needs to
  // reference an actual directory if a font other than one of the core
  // fonts is used. The core fonts are "courier", "helvetica" (also called
  // "arial"), "times", and "zapfdingbats" (also called "symbol").