ProofSheet customize text output

kensikora

Joined: 2013-06-20
Posts: 6
Posted: Mon, 2013-07-15 23:00

Does anyone know how to make the text output of proofsheet display more characters?

When I run the proofsheet, the descriptions are truncated and I need them to print on the proofsheet.

Here's a link to my gallery where proofsheet is installed.

http://216.230.7.155/~alexande/gallery/index.php/current

Those long titles don't print!

Thanks!

 
shadlaws

Joined: 2012-03-14
Posts: 183
Posted: Tue, 2013-07-16 05:48

I haven't gotten around to making a nice UI to tweak all of the parameters of the proofsheet module, but you can do it manually by editing the modules/proofsheet/controllers/proofsheet.php file. Here are two ways to get what you want:
- remove text truncating altogether. This starts around line 397 (search for "Trim text if needed"), and can be commented out. The problem is that now the text will overflow no matter what, likely causing formatting issues.
- change the page config to fit more text. This starts around line 100 (search for "Configure PDF file"), and can be edited rather easily. You can shrink the size of the caption font, or increase the image size to make more space, or whatever else you feel like :-)

Take care,
Shad

 
kensikora

Joined: 2013-06-20
Posts: 6
Posted: Wed, 2013-07-17 02:18

Thanks, Shad,

I played with the settings last night and got some of it working... Since the page has 18 images on it, ie 3 columns and 6 rows, it is hard to get the text and the image on a page.

I got the text to wrap by using multicell which I learned about by going to fpdf.org (kinda the documentation on the subject). But if you look at it, it is formatted funny and has blue text on black background and the text is kinda centered. I was looking for the way to change that and couldn't find it so am going to look again.

Also, I wonder if it would be possible to put the text to the right of the image: seems like there is plenty of white space there. Probably is but requires some real knowledge of fpdf?

Thanks again,

Ken