TCPDF: Replaced missing courier monotype font by provided freemono
The courier font is missing from TCPDF's directory. This leads to "TCPDF ERROR: Could not include font definition file: courier" being outputed by PHP when the library attempts to render an element with a monotyped font. Use freemono instead since it's a better alternative (e.g. supports more glyphs) and is already shipped with Dolibarr.
This commit is contained in:
parent
c3bc0cc8d1
commit
9a1919238f
@ -1258,7 +1258,7 @@ class TCPDF {
|
||||
* @protected
|
||||
* @since 4.5.025 (2009-03-10)
|
||||
*/
|
||||
protected $default_monospaced_font = 'courier';
|
||||
protected $default_monospaced_font = 'freemono';
|
||||
|
||||
/**
|
||||
* Cloned copy of the current class object.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user