PDF font size

Moderator: crythias

Locked
LionelC
Znuny newbie
Posts: 10
Joined: 23 Aug 2011, 08:17
Znuny Version: 3.0.9

PDF font size

Post by LionelC »

Hello,
i have a problem with PDF generated by OTRS (ticket or CMDB), the fontsize is really too small, and very difficult to read it on paper.

I search in configuration of OTRS but did not find how to fix the fontsize.

Is it a param in kernel/Config.pm ?

thanks for reply.
elaoe
Znuny newbie
Posts: 3
Joined: 14 May 2013, 13:02
Znuny Version: 3.0.9
Real Name: Katharina
Company: HU-Berlin

Re: PDF font size

Post by elaoe »

Same Problem here, can anyone help?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: PDF font size

Post by reneeb »

Unfortunately you have to change the source code. In Kernel/Modules/AgentTicketPrint.pm (and there is an equivalent for the CMDB) you'll find a lot of "->Text(...)" code. In that code, you'll find "FontSize => 7" (or any other font size). You have to change that.

It would be great if you make it configurable and submit a pull request to the github.com repository....
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
elaoe
Znuny newbie
Posts: 3
Joined: 14 May 2013, 13:02
Znuny Version: 3.0.9
Real Name: Katharina
Company: HU-Berlin

Re: PDF font size

Post by elaoe »

Found a solution!

in
.../Kernel/Modules/
you will find the
AgentTicketPrint.pm

in this File you can change all the FontSizes concerning the print output PDF.
Here you can also change background colors and table sizes.

*EDIT: Sorry I didn't see the previous reply before i postetd mine.
Locked