GoLang PDF_findfont

request it (209)
GoLang replacement for PHP's PDF_findfont [edit | history]

Do you know a GoLang replacement for PHP's PDF_findfont? Write it!

PHP PDF_findfont

PHP original manual for PDF_findfont [ show | php.net ]


(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_findfontPrepare font for later use [deprecated]


int PDF_findfont ( resource $p , string $fontname , string $encoding , int $embed )

Search for a font and prepare it for later use with PDF_setfont(). The metrics will be loaded, and if embed is nonzero, the font file will be checked, but not yet used. encoding is one of builtin, macroman, winansi, host, a user-defined encoding name or the name of a CMap. Parameter embed is optional before PHP 4.3.5 or with PDFlib less than 5.

This function is deprecated since PDFlib version 5, use PDF_load_font() instead.