[mapserver-dev] Re: [mapserver-users] Rendering of Static Text is
different using gd or AGG ?
Paul Ramsey
pramsey at cleverelephant.ca
Tue May 6 10:39:12 EDT 2008
It's a bug, and the regression suite even caught it :)
http://trac.osgeo.org/mapserver/ticket/2600
On Tue, May 6, 2008 at 8:19 AM, Stephen Woodbridge
<woodbri at swoodbridge.com> wrote:
> 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 "(c)"
>>
>> -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-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
More information about the mapserver-dev
mailing list