Slight rendering problem with 4.4-beta1 ...

Jean-Francois Doyon Jean-Francois.Doyon at CCRS.NRCAN.GC.CA
Wed Nov 3 12:01:06 EST 2004


Steve,

Tahnks for the suggestion, but I'm afraid that wasn't it.

I removed the RPM's provided for 2.1.4 and built 2.1.9 from source.

Ran ldconfig ...

Problem remains ...

Re-compile GD and MapServer, just to be sure ...

Problem remains ...

I had a quick look at the raw data with the shapelib tools, and I see
nothing suggesting there's anything special about the text in the DBF that
could cause this.

I've tested it on 2 maps where this occurs.

Could it be related to the labelling cache?  In what order are labels drawn?
If from top-left to bottom-right, then it would seem that it's alway sthe
"last" label that does this ... I'll try more maps to see if I detect a
pattern (It's a bit of work because I have to convert the mapfile from
3.6.6).

If there's anything else I can do to help track this down, do let me know!

Thanks,
J.F.

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of Steve Lime
Sent: November 2, 2004 6:18 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Slight rendering problem with
4.4-beta1 ...


I didn't see your original posting, sorry. With 4.4 I would use GD 2.0.28
and FreeType 2.1.9 and see
if that fixes things. FT 2.1.4 is 18 months old and GD has undergone a ton
of TrueType work in the
last few months so let's get current and rule that out first. Then we can
deal with the issue if it persists.

Steve

>>> Jean-Francois Doyon <Jean-Francois.Doyon at CCRS.NRCAN.GC.CA> 11/1/2004
3:14:20 PM >>>
G'day,

I didn't get any reaction from this post, so I guess I'm alone ? :P

I've run into this a few more times already ... I'l go look at the data when
I have a minute, but in the mean time, what versions of GD and FreeType am I
supposed to use for 4.4?

As mentionned I'm using gd 2.0.28 with FreeType 2.1.4 ... Could that be the
cause? A simple versionning mismatch?

One thought I had was that it must be strings with spaces (i.e. seperate
words), but that doesn't seem to be it, since there are many that DO work.
Also doesn't seem to be related to wrapping, since in 3.6.6 at least these
are strings that don't wrap.

If I don't hear anything to the contrary, I'll keep playing with this, and
if no solution comes apparent, I'll file it as a bug in bugzilla ...

Thanks,
J.F.

>  -----Original Message-----
> From:         Doyon, Jean-Francois  
> Sent: October 28, 2004 4:47 PM
> To:   'mapserver-users at lists.umn.edu'
> Subject:      Slight rendering problem with 4.4-beta1 ...
> 
> Hello,
> 
> Find attached 2 versions of the exact same map/mapfile.
> 
> I have a 3.6.6 with gd 1.8.4 and Freetype 1.x for one on RH7.3, and
> 4.4-beta1 with gd 2.0.28 and freetype 2.1.4 on CentOS/RHEL 3
> 
> Note the "Thunder Bay" ... One one map (The 3.6.6 one) it looks fine. On
> the 4.4-beta1 version, there's a problem.
> 
> Admitedly, I'm using the exact same mapfile, so I don't know if maybe
> there are changes I should be aware of to make this work right in the new
> version.
> 
>  << File: mapserv366-ok.gif >>  << File: mapserv44beta1-bad.gif >> 
> 
> Any ideas?
> 
> Thanks!
> 
> Jean-François Doyon
> Internet Service Development and Systems Support / Spécialiste de
> dèveloppements internet et soutien technique
> Canada Centre for Remote Sensing / Centre Canadien de télédétection
> Natural Resources Canada / Ressources naturelles Canada
> http://atlas.gc.ca 
> Tel./Tél. : (613) 992-4902
> Fax: (613) 947-2410
> 



More information about the mapserver-users mailing list