Write a simple script in PHP to output a PDF file.
The script should:
-- read a .csv file (with lines like "xia1ren2 chao3fan4","Another line",[url removed, login to view]; "wo3 xi3huan1," "A second line", [url removed, login to view])
-- generate an 8.5 x 8.5 inch square pdf page for each line of the file;
-- place an image on the page in a designated location.
-- transform the text string using a provided function;
-- place the transformed pieces of text on the page in two designated locations (including one on top of the image previously placed) USING MULTICELL.
This script will require the use of a specific PDF generating library (tfpdf multicell, UTF-8 version) because of the function to used included for transformation of the text strings. The library will be mailed to the worker after the job begins if you do not own it already.
A test script provided by the author of the TFPDF MULTICELL library will be included -- you can probably just modify it.