TCPDF KeyWords Doubled in Document Properties Description Tab – Acrobat Reader

Written by James McDonald

June 14, 2016

This causes the keywords to double when viewed in File ==> Properties ==> Description Tab.

$pdf->SetKeywords('CLAM, CLM, Schedule, Program, Meeting, Service Meeting');

This shows the keywords once only:

$pdf->SetKeywords('CLAM CLM Schedule Program Meeting Service Meeting');

In short drop the comma’s and you will be fine.

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...