faint TT fonts

Charlton Purvis cplist at EARTHLINK.NET
Thu Oct 20 09:49:54 PDT 2005


Thanks, Frank.  I tried playing w/ the ANTIALIAS, and if I make it FALSE, I
get no arrows at all.  I also upped the freetype to the latest.  If you look
at the attached image of the arrows alone, there are even strange black line
artifacts off the coasts.  This is a showstopper, and I'm not quite sure how
to forge ahead.

    CLASS
      TEXT '®'
      LABEL
        TYPE TRUETYPE
        FONT "esri_cartography"
        PARTIALS FALSE
        POSITION UC
        FORCE TRUE
        COLOR 0 0 0
        OFFSET 2 -9
        SIZE 10
        ANTIALIAS TRUE
      END
      STYLE END
      EXPRESSION ([v%STEP_TIME%] >= 1.5)
    END

Is there any chance that this target box doesn't understand the .ttf as well
as the box where I didn't see any problems?

Thanks for all your help.

Charlton

> -----Original Message-----
> From: fwarmerdam at gmail.com [mailto:fwarmerdam at gmail.com] On Behalf Of
> Frank Warmerdam
> Sent: Thursday, October 20, 2005 11:20 AM
> To: Charlton Purvis
> Subject: Re: [UMN_MAPSERVER-USERS] faint TT fonts
> 
> On 10/20/05, Charlton Purvis <cplist at earthlink.net> wrote:
> > Hi, GDAL-ers and MS-ers:
> >
> > The fact that I'm cross posting is a symptom of the fact that I don't
> know
> > where to start digging.
> >
> > I have 2 deployments of the same base data that are using the same TT
> font
> > to produce arrows.  Please ignore the difference in background color,
> but if
> > you look at the attached images, you'll see that there is a striking
> > difference in the boldness of the font from the first .gif to the 2nd.
> The
> > MS installations are almost identical, but obviously something isn't
> quite
> > right.  I could increase the size of the font on the attachment
> > mapserv2_with_arrows to be able to see the vectors, but that isn't what
> I
> > want to do.  Where should I start digging?  GD, MS?
> >
> > I'm using pretty much the latest and greatest versions of everything.
> But I
> > can list specifics -- just shout it out.
> 
> Charlton,
> 
> I would suggest looking into the possibilty that FreeType font anti-
> aliasing
> might be in effect in one but not the other.  It will tend to make
> features
> less bold and blocky.
> 
> The issue is unrelated to GDAL, but is likely somewhere in the parameters
> that MapServer is passing to FreeType which does the font rendering.
> You could also look for differences in the freetype version though I doubt
> that is it.
> 
> Best regards,
> --
> ---------------------------------------+----------------------------------
> ----
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv2.gif
Type: image/gif
Size: 19591 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051020/b83249a9/attachment.gif>


More information about the MapServer-users mailing list