Dompdf\FontMetrics::getFont
Resolves a font family & subtype into an actual font file Subtype can be one of 'normal', 'bold', 'italic' or 'bold_italic'. If the particular font family has no suitable font file, the default font ({@link Options::defaultFont}) is used. The font file returned is the absolute pathname to the font file on the system.
Signature
public function getFont(string
$familyRaw,
[string
$subtypeRaw = "normal"] )
Parameters
$familyRaw
— string$subtypeRaw
— string
Returns
- string