The PDF files created by the TCPDF are very good but for some reasons the Keywords are doubled when view from Adobe Reader properties. What could go wrong here? Below is the code:
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor('AR Conolly and Company Lawyers');
$pdf->SetTitle('Benchmark');
$pdf->SetSubject('Benchmark Publication');
$pdf->SetKeywords('law firm, cases, publication, courts, sydney, australia, daily, weekly, insurance, construction, banking, radio, bechmark tv');
I use version TCPDF 6.2.26. and Adobe Acrobat Reader DC. I found that the function "_putXMP()" in tcpdf.php have put the keyword twice in line 9539 and line 9562. Commenting either line will result proper keywords in PDF properties.