From c2c5276a22c1393b4dff83ff72bd8b04a0899768 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 28 Sep 2011 15:29:07 +0200 Subject: [PATCH] 5.9.121 --- tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdf.php b/tcpdf.php index 9142ef6..ca70bf4 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -5063,7 +5063,7 @@ class TCPDF { } elseif ($type == 'TrueTypeUnicode') { $enc = 'Identity-H'; } elseif ($type == 'cidfont0') { - if ($this->pdf_mode) { + if ($this->pdfa_mode) { $this->Error('All fonts must be embedded in PDF/A mode!'); } } else {