Skip Menu |

This queue is for tickets about the GDTextUtil CPAN distribution.

Report information
The Basics
Id: 20317
Status: open
Priority: 0/
Queue: GDTextUtil

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.86
Fixed in: (no value)



Subject: Can't test properly with latest FreeType on Linux
I have just installed the altest FreeType libraries on my Linux box: http://download.savannah.gnu.org/releases/freetype/freetype- 2.2.1.tar.gz Running make test results in: PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/align....ok 5/21 skipped: Some TTF tests disabled: Freetype inconsistent t/text.....ok 2/20 skipped: Some TTF tests disabled: Freetype inconsistent t/wrap.....ok 2/14 skipped: Some TTF tests disabled: Freetype inconsistent All tests successful, 9 subtests skipped. Files=3, Tests=55, 0 wallclock secs ( 0.22 cusr + 0.03 csys = 0.25 CPU) bash-3.00# Then I tried: bash-3.00# perl t/text.t 1..20 ok 1 - use GD::Text; ok 2 - default font is builtin ok 3 - default size params ok 4 - default size params 2 ok 5 - gdGiantFont builtin ok 6 - width method ok 7 - text did not change ok 8 - Giant font size ok 9 - constructor with args ok 10 - multiple fonts ok 11 - correct directory ok 12 - ttf set_font ok 13 - ttf multiple fonts ok 14 - ttf multiple fonts ok 15 # skip Some TTF tests disabled: Freetype inconsistent ok 16 # skip Some TTF tests disabled: Freetype inconsistent ok 17 - font path no ttf ok 18 - font path multi ok 19 - font path abs ok 20 - named bash-3.00# Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.12.6-xen3_12.1_rhel4.1, archname=i686- linux uname='linux rnddev 2.6.12.6-xen3_12.1_rhel4.1 #1 smp tue jan 31 14:04:08 pst 2006 i686 i686 i386 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/usr/local/include' ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Jun 7 2006 07:50:37 @INC: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl . bash-3.00#
On Thu Jul 06 06:01:04 2006, guest wrote: Show quoted text
> Then I tried: > > bash-3.00# perl t/text.t
Show quoted text
> ok 14 - ttf multiple fonts > ok 15 # skip Some TTF tests disabled: Freetype inconsistent > ok 16 # skip Some TTF tests disabled: Freetype inconsistent > ok 17 - font path no ttf
You'll note that the test do not actually fail, they are skipped, and what's more, they are always skipped. I originally put those test sin to check for font sizing and such, but found that almost every version of freetype renders differently, which is why I skipped the tests. The skip messages are harmless, and have nothing to do with your new freetype installation. They were also there with your previous freetype installation. Regards, Martien
Subject: Re: [rt.cpan.org #20317] Can't test properly with latest FreeType on Linux
Date: Thu, 06 Jul 2006 23:39:41 +0100
To: bug-GDTextUtil [...] rt.cpan.org
From: Lee Goddard <lee [...] leegoddard.net>
Sorry about that, my friend - I did in the end take the trouble to read the test source as well, and appreciate the situation. Rather disappointing news I've been reading about the quality of the latest FreeType builds. Thanks for taking the time - and thanks for the module, of course! Lee Martien_Verbruggen via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=20317 > > > On Thu Jul 06 06:01:04 2006, guest wrote: > >
>> Then I tried: >> >> bash-3.00# perl t/text.t >>
> >
>> ok 14 - ttf multiple fonts >> ok 15 # skip Some TTF tests disabled: Freetype inconsistent >> ok 16 # skip Some TTF tests disabled: Freetype inconsistent >> ok 17 - font path no ttf >>
> > You'll note that the test do not actually fail, they are skipped, and > what's more, they are always skipped. I originally put those test sin to > check for font sizing and such, but found that almost every version of > freetype renders differently, which is why I skipped the tests. > > The skip messages are harmless, and have nothing to do with your new > freetype installation. They were also there with your previous freetype > installation. > > Regards, > Martien > >
-- Lee Goddard, BA (Hons), MSc www: LeeGoddard.net tel: 0208 369 6832 ltd: Server-side Systems ten: Ten years programming the net

Message body is not shown because sender requested not to inline it.