support tight_bbox for pgf output, fixes #2342 (v1.3.x)
Merge pull request #2402 from pwuertz/fix_2342

support tight_bbox for pgf output, fixes #2342 (v1.3.x)