AW: [mapserver-users] Rendering of Static Text is different usinggd or AGG ?

Stephen Woodbridge woodbri at swoodbridge.com
Tue May 6 12:29:47 EDT 2008


Created a bug for this:
http://trac.osgeo.org/mapserver/ticket/2607

Schönhammer, Herbert wrote:
> Hi Steve,
> Hi Jeff,
> 
> the workaround of jeff is working.
> 
> I think, this is a bug, but I don't know how to generate a bug !
> 
> Could anybody do this for me ? 
> (Only if there are more people who think, this is a bug !)
> 
> Thanks very much,
> Herbert
> 
>> -----Ursprüngliche Nachricht-----
>> Von: mapserver-users-bounces at lists.osgeo.org 
>> [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag 
>> von Stephen Woodbridge
>> Gesendet: Dienstag, 6. Mai 2008 17:20
>> An: Jeff McKenna
>> Cc: mapserver-dev; Mapserver-users
>> Betreff: Re: [mapserver-users] Rendering of Static Text is 
>> different usinggd or AGG ?
>>
>>
>> Jeff,
>>
>> This is a good work around, but I think we need to ask the questions:
>>
>>   What is the expected behavior?
>>   Is this a bug, should it be a bug?
>>   Should this behavior be documented?
>>   Should this be bugged for 5.2 freeze?
>>
>> Clearly some code is translating the © for the GD renderer.
>>
>> Adding cc: mapserver-dev, let me know If you want to to generate a bug 
>> based on this and assign it to 5.2
>>
>> -Steve W
>>
>> Jeff McKenna wrote:
>>> What about using your operating system's character set?  For 
>> example on 
>>> windows pressing ALT-0169 gives the copyright sign, and on 
>> MAC pressing 
>>> OPTION-G.  So your mapfile snippet is:    TEXT "©"
>>>
>>> -jeff
>>>
>>>
>>>
>>>
>>> On 6-May-08, at 9:32 AM, Schönhammer, Herbert wrote:
>>>
>>>> Hi list,
>>>>
>>>> Using* gd* the declaration "©"renders the "copyright"-Sign:
>>>>
>>>> LAYER
>>>>   NAME "copyright"
>>>>   REQUIRES ..
>>>>   ...
>>>>
>>>>   FEATURE
>>>>      POINTS
>>>>       3 10
>>>>      END
>>>>    END
>>>>    
>>>>  ...
>>>>
>>>>   CLASS
>>>> *     TEXT "© xxx" *
>>>>     LABEL
>>>>       TYPE TRUETYPE
>>>>       FONT 'arial'
>>>>       SIZE 9
>>>>       POSITION cr
>>>>       COLOR 0 0 0
>>>>       OUTLINECOLOR  255 255 254
>>>>     END
>>>>   END
>>>>  
>>>> END # LAYER
>>>>
>>>>
>>>>
>>>> But using agg, the text ""© xxx" is rendered in the map.
>>>>
>>>> Please lokk at the examples !
>>>>
>>>> Does anybody know,
>>>> how to render the html-code like done in gd ?
>>>>
>>>> Does anybody know another way to render signs like 
>> "copyright"  with gd ?
>>>> Thanks very much
>>>>
>>>> greetings
>>>> Herbert
>>>>
>>>> <<gd-rendering.gif>> <<agg-rendering.gif>>
>>>>
>>>>
>> <gd-rendering.gif><agg-rendering.gif>__________________________
>> _____________________
>>>> mapserver-users mailing list
>>>> mapserver-users at lists.osgeo.org 
>> <mailto:mapserver-users at lists.osgeo.org>
>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>> ---------------------------------------------------------------
>> ---------
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>



More information about the mapserver-users mailing list