Project

General

Profile

Defect #1972

Error Msg : undefined method getDefaultFontName()

Added by Jerry Quinnell about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
01/28/2021
Due date:
% Done:

0%

Estimated time:

Description

Hi, I'm just looking at upgrading our TCPDF Adv Table from 5.4.4 to 6.2.1.

I just copied over all the libraries and ran out reports and an error on getDefaultFontName() came whilst doing a SetStyle.
Has something changed in this regard ?

Firstly I noticed that maybe the parameters sequence had changed so I change that round and still get the error.

Hope you can advise?

Regards
Jerry


Files

TCPDF Error Msg.jpg View TCPDF Error Msg.jpg 35.7 KB Screen Error Msg Jerry Quinnell, 01/28/2021 12:23 PM
GteFont Code Snippet.jpg View GteFont Code Snippet.jpg 123 KB Code Snippet Jerry Quinnell, 01/28/2021 12:23 PM
Screenshot_52.png View Screenshot_52.png 68.7 KB Andrei Bintintan, 01/28/2021 12:41 PM
Screenshot_53.png View Screenshot_53.png 129 KB Andrei Bintintan, 01/28/2021 12:41 PM
#1

Updated by Andrei Bintintan about 3 years ago

Hi Jerry,

Yes, that changed into getDefaultFont which is defined in: MyPdf class.
When you update maybe you can merge the PdfExamples classes as well.

I hope this helps a bit.

#2

Updated by Jerry Quinnell about 3 years ago

That works great thanks ...

#3

Updated by Andrei Bintintan about 3 years ago

  • Status changed from Feedback to Closed

You're welcome. Closing.

Also available in: Atom PDF