hI, ooohh04 san
This is just an example code.
Please add following code into /post2pdf-converter/post2pdf-converter-pdf-maker.php line 14
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Remove following code from /post2pdf-converter/post2pdf-converter-pdf-maker.php line 373-374
require_once('tcpdf/config/lang/'.$config_lang.'.php');
require_once('tcpdf/tcpdf.php');
Replace /post2pdf-converter/post2pdf-converter-pdf-maker.php line 392-394 with following code.
$pdf = new POST2PDF_Converter_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', true, false);
} else {
$pdf = new POST2PDF_Converter_PDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false, false);
Replace /post2pdf-converter/tcpdf/config/tcpdf_config.php line 95-99 with following code.
if (!defined('K_PATH_FONTS') && $POST2PDF_Converter_PDF_Maker->post2pdf_conv_setting_opt['font_path'] == 1) {
define('K_PATH_FONTS', WP_CONTENT_DIR.'/tcpdf-fonts/');
} else {
define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
}