Re: [otrs] PDF font configuration

2009-04-21 Thread Jeffery Chen Fan
otrs 2.3.4 can not print chinese in PDF

On Tue, Apr 21, 2009 at 3:42 PM, Michiel Beijen mich...@beefreeit.nlwrote:

 Hi all,

 Searching in Bugzilla I found this to be an issue with a certain
 PDF::API2 version; versions 0.69 and 0.73 seem to be OK, versions in
 between can be affected.
 You can verify your installed version by running otrs.checkModules.

 see for the Bugzilla bug report:
 http://bugs.otrs.org/show_bug.cgi?id=3736

 Kind regards,
 --
 Michiel Beijen
 Software Consultant
 +31 6 - 457 42 418
 Bee Free IT + http://beefreeit.nl



 On Thu, Apr 9, 2009 at 17:15, Diego Giardinetto
 diego.giardine...@zephirworks.com wrote:
  Seems that with otrs 2.1.x was no problem. But previous version didn't
 use
  PDF::API2.
 
  Il 09/04/2009 17.07, Frans Stekelenburg ha scritto:
 
  Posted the same question some time ago, with no solutions either.
  So eager to find out any solutions as well.
 
  gr,
  Frans
 
  -Original Message-
  From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf
 
  Of
 
  Tijmen de Mes
  Sent: donderdag 9 april 2009 16:43
  To: User questions and discussions about OTRS.
  Subject: Re: [otrs] PDF font configuration
 
  Hi,
 
  I'am having the same problem, I didn't found a solution for it.
 
  Tijmen
 
  Diego Giardinetto wrote:
 
  Hi,
  installing otrs, i have a problem with pdf table report: characters
 
  have
 
  lot of distance between each one. Any idea?
 
  Thx,
  Diego
 
  --
  Diego Giardinetto
  Junior SysAdmin @ ZephirWorks
  email: diego.giardinettoatzephirworks.com
  mobile: +39 328 06 81 489
 
  -
 
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
 
  -
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
  -
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
  --
  Diego Giardinetto
  Junior SysAdmin @ ZephirWorks
  email: diego.giardinettoatzephirworks.com
  mobile: +39 328 06 81 489
  -
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
 -
 OTRS mailing list: otrs - Webpage: http://otrs.org/
 Archive: http://lists.otrs.org/pipermail/otrs
 To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

 NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
 http://www.otrs.com/en/support/enterprise-subscription/




-- 
Jeffery
___
/\__\ What is the world coming to?
\/__/
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

[otrs] PDF font configuration

2009-04-09 Thread Diego Giardinetto

Hi,
installing otrs, i have a problem with pdf table report: characters have 
lot of distance between each one. Any idea?


Thx,
Diego

--
Diego Giardinetto
Junior SysAdmin @ ZephirWorks
email: diego.giardinettoatzephirworks.com
mobile: +39 328 06 81 489
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] PDF font configuration

2009-04-09 Thread Tijmen de Mes
Hi,

I'am having the same problem, I didn't found a solution for it.

Tijmen

Diego Giardinetto wrote:
 Hi,
 installing otrs, i have a problem with pdf table report: characters have
 lot of distance between each one. Any idea?

 Thx,
 Diego

 --
 Diego Giardinetto
 Junior SysAdmin @ ZephirWorks
 email: diego.giardinettoatzephirworks.com
 mobile: +39 328 06 81 489
 -
 OTRS mailing list: otrs - Webpage: http://otrs.org/
 Archive: http://lists.otrs.org/pipermail/otrs
 To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

 NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
 http://www.otrs.com/en/support/enterprise-subscription/



-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] PDF font configuration

2009-04-09 Thread Frans Stekelenburg
Posted the same question some time ago, with no solutions either.
So eager to find out any solutions as well.

gr,
Frans

 -Original Message-
 From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf
Of
 Tijmen de Mes
 Sent: donderdag 9 april 2009 16:43
 To: User questions and discussions about OTRS.
 Subject: Re: [otrs] PDF font configuration
 
 Hi,
 
 I'am having the same problem, I didn't found a solution for it.
 
 Tijmen
 
 Diego Giardinetto wrote:
  Hi,
  installing otrs, i have a problem with pdf table report: characters
 have
  lot of distance between each one. Any idea?
 
  Thx,
  Diego
 
  --
  Diego Giardinetto
  Junior SysAdmin @ ZephirWorks
  email: diego.giardinettoatzephirworks.com
  mobile: +39 328 06 81 489
 
-
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
 
 
 -
 OTRS mailing list: otrs - Webpage: http://otrs.org/
 Archive: http://lists.otrs.org/pipermail/otrs
 To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
 NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
 http://www.otrs.com/en/support/enterprise-subscription/
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] PDF font configuration

2009-04-09 Thread Diego Giardinetto
Seems that with otrs 2.1.x was no problem. But previous version didn't 
use PDF::API2.


Il 09/04/2009 17.07, Frans Stekelenburg ha scritto:

Posted the same question some time ago, with no solutions either.
So eager to find out any solutions as well.

gr,
Frans


-Original Message-
From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf

Of

Tijmen de Mes
Sent: donderdag 9 april 2009 16:43
To: User questions and discussions about OTRS.
Subject: Re: [otrs] PDF font configuration

Hi,

I'am having the same problem, I didn't found a solution for it.

Tijmen

Diego Giardinetto wrote:

Hi,
installing otrs, i have a problem with pdf table report: characters

have

lot of distance between each one. Any idea?

Thx,
Diego

--
Diego Giardinetto
Junior SysAdmin @ ZephirWorks
email: diego.giardinettoatzephirworks.com
mobile: +39 328 06 81 489


-

OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/



-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


--
Diego Giardinetto
Junior SysAdmin @ ZephirWorks
email: diego.giardinettoatzephirworks.com
mobile: +39 328 06 81 489
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] PDF font configuration

2009-04-09 Thread Diego Giardinetto

What is the output of you unit test? $OTRSHOME/bin/UnitTest.pl -n PDF
this is mine:

SOME OTHER OUTPUT BEFORE...

 not ok 122 - ERROR: Syntax error in 
/usr/local/otrs/scripts/test/PDF.t: No such file or directory at (eval 
25) line 2739.


ERROR: Syntax error in /usr/local/otrs/scripts/test/PDF.t: No such file 
or directory at (eval 25) line 2739.


=
 Product:   OTRS 2.3.4
 Test Time: 12 s
 Time:  2009-04-09 17:38:00
 Host:  otrspero.csbno.net
 Perl:  5.8.9
 OS:freebsd
 Vendor:unknown
 Database:  postgresql
 TestOk:121
 TestNotOk: 1

==

Thx,
Diego




Il 09/04/2009 17.15, Diego Giardinetto ha scritto:

Seems that with otrs 2.1.x was no problem. But previous version didn't
use PDF::API2.

Il 09/04/2009 17.07, Frans Stekelenburg ha scritto:

Posted the same question some time ago, with no solutions either.
So eager to find out any solutions as well.

gr,
Frans


-Original Message-
From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf

Of

Tijmen de Mes
Sent: donderdag 9 april 2009 16:43
To: User questions and discussions about OTRS.
Subject: Re: [otrs] PDF font configuration

Hi,

I'am having the same problem, I didn't found a solution for it.

Tijmen

Diego Giardinetto wrote:

Hi,
installing otrs, i have a problem with pdf table report: characters

have

lot of distance between each one. Any idea?

Thx,
Diego

--
Diego Giardinetto
Junior SysAdmin @ ZephirWorks
email: diego.giardinettoatzephirworks.com
mobile: +39 328 06 81 489


-

OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/



-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/




--
Diego Giardinetto
Junior SysAdmin @ ZephirWorks
email: diego.giardinettoatzephirworks.com
mobile: +39 328 06 81 489
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] PDF font configuration

2009-04-09 Thread Frans Stekelenburg
It appears you are missing a character set? (Or different local set?)

My results:

A lot of lines stating on both test and production server:
...
Use of uninitialized value in numeric gt () at
/usr/lib/perl5/site_perl/5.8.8/PDF/API2/Basic/TTF/Cmap.pm line 258.
...
Use of uninitialized value in numeric gt () at
/usr/lib/perl5/site_perl/5.8.8/PDF/API2/Basic/TTF/Glyph.pm line 298.

All OK on our test server:
=
 Product:   OTRS 2.3.3
 Test Time: 19 s
 Time:  2009-04-09 17:53:37
 Host:  our test server
 Perl:  5.8.8
 OS:linux
 Vendor:Fedora release 7 (Moonshine)
 Database:  mysql
 TestOk:128
 TestNotOk: 0
=




But not on our live server (using LAMPP):
=
 Product:   OTRS 2.3.3
 Test Time: 15 s
 Time:  2009-04-09 17:53:41
 Host:  live server
 Perl:  5.10.0
 OS:linux
 Vendor:Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
 Database:  mysql
 TestOk:126
 TestNotOk: 2
=

ERROR CharsetTest1 State --1
ERROR CharsetTest1 RequiredWidth --121.45
ERROR CharsetTest1 RequiredHeight --10
ERROR CharsetTest1 LeftOver 

 not ok 122 - CharsetTest1()

ERROR CharsetTest2 State --1
ERROR CharsetTest2 RequiredWidth --121.45
ERROR CharsetTest2 RequiredHeight --10
ERROR CharsetTest2 LeftOver 

 not ok 125 - CharsetTest2()


grtx,
Frans


 -Original Message-
 From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf
Of
 Diego Giardinetto
 Sent: donderdag 9 april 2009 17:39
 To: User questions and discussions about OTRS.
 Subject: Re: [otrs] PDF font configuration
 
 What is the output of you unit test? $OTRSHOME/bin/UnitTest.pl -n PDF
 this is mine:
 
 SOME OTHER OUTPUT BEFORE...
 
   not ok 122 - ERROR: Syntax error in
 /usr/local/otrs/scripts/test/PDF.t: No such file or directory at (eval
 25) line 2739.
 
 ERROR: Syntax error in /usr/local/otrs/scripts/test/PDF.t: No such
file
 or directory at (eval 25) line 2739.
 
 =
   Product:   OTRS 2.3.4
   Test Time: 12 s
   Time:  2009-04-09 17:38:00
   Host:  otrspero.csbno.net
   Perl:  5.8.9
   OS:freebsd
   Vendor:unknown
   Database:  postgresql
   TestOk:121
   TestNotOk: 1
 
 ==
 
 Thx,
 Diego
 
 
 
 
 Il 09/04/2009 17.15, Diego Giardinetto ha scritto:
  Seems that with otrs 2.1.x was no problem. But previous version
 didn't
  use PDF::API2.
 
  Il 09/04/2009 17.07, Frans Stekelenburg ha scritto:
  Posted the same question some time ago, with no solutions either.
  So eager to find out any solutions as well.
 
  gr,
  Frans
 
  -Original Message-
  From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On
 Behalf
  Of
  Tijmen de Mes
  Sent: donderdag 9 april 2009 16:43
  To: User questions and discussions about OTRS.
  Subject: Re: [otrs] PDF font configuration
 
  Hi,
 
  I'am having the same problem, I didn't found a solution for it.
 
  Tijmen
 
  Diego Giardinetto wrote:
  Hi,
  installing otrs, i have a problem with pdf table report:
 characters
  have
  lot of distance between each one. Any idea?
 
  Thx,
  Diego
 
  --
  Diego Giardinetto
  Junior SysAdmin @ ZephirWorks
  email: diego.giardinettoatzephirworks.com
  mobile: +39 328 06 81 489
 
 

 -
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
 
 
---
 --
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 

 -
  OTRS mailing list: otrs - Webpage: http://otrs.org/
  Archive: http://lists.otrs.org/pipermail/otrs
  To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
 
  NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
  http://www.otrs.com/en/support/enterprise-subscription/
 
 
 --
 Diego Giardinetto
 Junior SysAdmin @ ZephirWorks
 email: diego.giardinettoatzephirworks.com
 mobile: +39 328 06 81 489
 -
 OTRS mailing list: otrs - Webpage: http://otrs.org/
 Archive: http://lists.otrs.org/pipermail/otrs
 To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs