func ExampleFpdf_AddFont() {
	pdf := gofpdf.New("P", "mm", "A4", example.FontDir())
	pdf.AddFont("Calligrapher", "", "calligra.json")
	pdf.AddPage()
	pdf.SetFont("Calligrapher", "", 35)
	pdf.Cell(0, 10, "Enjoy new fonts with FPDF!")
	fileStr := example.Filename("Fpdf_AddFont")
	err := pdf.OutputFileAndClose(fileStr)
	example.Summary(err, fileStr)
	// Output:
	// Successfully generated pdf/Fpdf_AddFont.pdf
}
// ExampleFpdf_AddFont demonstrates the use of a non-standard font.
ExampleFpdf_AddFont demonstrates the use of a non-standard font.
// ExampleFpdf_AddFont demonstrates the use of a non - standard font .
func ExampleFpdf_AddFont() {
	pdf := gofpdf.New("P", "mm", "A4", example.FontDir())
	pdf.AddFont("Calligrapher", "", "calligra.json")
	pdf.AddPage()
	pdf.SetFont("Calligrapher", "", 35)
	pdf.Cell(0, 10, "Enjoy new fonts with FPDF!")
	fileStr := example.Filename("Fpdf_AddFont")
	err := pdf.OutputFileAndClose(fileStr)
	example.Summary(err, fileStr)
}
func ExampleFpdf_AddFont ( ) { pdf := gofpdf . New ( " " , " " , " " , example . FontDir ( ) ) pdf . AddFont ( " " , " " , " " ) pdf . AddPage ( ) pdf . SetFont ( " " , " " , 35 ) pdf . Cell ( 0 , 10 , " " ) fileStr := example . Filename ( " " ) err := pdf . OutputFileAndClose ( fileStr ) example . Summary ( err , fileStr ) }
ExampleFpdf_AddFont demonstrates the use of a non-standard font.
ExampleFpdf_AddFont demonstrates the use of a non - standard font .
// Output: // Successfully generated pdf/Fpdf_AddFont.pdf